Changeset: d54c723aa3e8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d54c723aa3e8
Modified Files:
        sql/backends/monet5/rel_bin.c
        sql/test/SQLancer/Tests/sqlancer10.stable.out
Branch: Oct2020
Log Message:

Disable assertion, this code path is used


diffs (42 lines):

diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c
--- a/sql/backends/monet5/rel_bin.c
+++ b/sql/backends/monet5/rel_bin.c
@@ -3309,7 +3309,6 @@ rel2bin_select(backend *be, sql_rel *rel
                if ((p=find_prop(e->p, PROP_HASHCOL)) != NULL) {
                        sql_idx *i = p->value;
 
-                       assert(0);
                        sel = rel2bin_hash_lookup(be, rel, sub, NULL, i, en);
                }
        }
diff --git a/sql/test/SQLancer/Tests/sqlancer10.stable.out 
b/sql/test/SQLancer/Tests/sqlancer10.stable.out
--- a/sql/test/SQLancer/Tests/sqlancer10.stable.out
+++ b/sql/test/SQLancer/Tests/sqlancer10.stable.out
@@ -36,6 +36,27 @@ stdout of test 'sqlancer10` in directory
 #WHEN t2.c2 THEN t2.c0 ELSE t2.c0 END, ((r'n')LIKE(r'')), ((r'PQ 
Q<!')LIKE(r'왋di5Xf%N')), (r'cZ') IN (r'0.49842616303390397'));
 [ 1    ]
 #ROLLBACK;
+#START TRANSACTION;
+#CREATE TABLE "sys"."t0" ("c0" CHAR(89) NOT NULL,"c1" BOOLEAN,CONSTRAINT 
"t0_c0_pkey" PRIMARY KEY ("c0"),
+#      CONSTRAINT "t0_c0_unique" UNIQUE ("c0"),CONSTRAINT "t0_c1_c0_unique" 
UNIQUE ("c1", "c0"));
+#COPY 11 RECORDS INTO "sys"."t0" FROM stdin USING DELIMITERS E'\t',E'\n','"';
+#"熡U"  false
+#"3"   NULL
+#"6"   NULL
+#"0.6714721480805466"  NULL
+#"true"        true
+#"OD6N綥"       false
+#"흷)%^Ae+c蝢"   true
+#"9"   false
+#"']iq"        true
+#"E"   true
+#"0.5036928534407451"  false
+[ 11   ]
+#update t0 set c1 = true where t0.c0 = t0.c0 and t0.c1 = t0.c1;
+[ 8    ]
+#update t0 set c1 = true, c0 = r'.+' where 
(((("isauuid"(t0.c0))and(((t0.c0)=(t0.c0)))))and(((t0.c1)=(t0.c1))));
+[ 0    ]
+#ROLLBACK;
 
 # 13:59:46 >  
 # 13:59:46 >  "Done."
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to