Dag H. Wanvik created DERBY-6693:
------------------------------------
Summary: Assert failure/NPE when using COUNT in MERGE matching
clause
Key: DERBY-6693
URL: https://issues.apache.org/jira/browse/DERBY-6693
Project: Derby
Issue Type: Bug
Reporter: Dag H. Wanvik
This (meaningless) statement gives NPE in insane builds and
assert failure in sane builds:
{code}
s.execute("create table t2(x int)");
s.execute("create table t1(x int)");
s.execute("insert into t2 values 3,4");
s.executeUpdate("merge into t1 using t2 on (t1.x=t2.x) " +
"when not matched then insert values (count(*))");
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)