db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-6693) Assert failure/NPE when using COUNT in MERGE matching clause
Date Wed, 06 Aug 2014 18:12:11 GMT
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)

Mime
View raw message