Changeset: 354d74b73faf for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=354d74b73faf Modified Files: sql/test/SQLancer/Tests/sqlancer09.sql Branch: Oct2020 Log Message:
New sqlancer crash on subqueries diffs (25 lines): diff --git a/sql/test/SQLancer/Tests/sqlancer09.sql b/sql/test/SQLancer/Tests/sqlancer09.sql --- a/sql/test/SQLancer/Tests/sqlancer09.sql +++ b/sql/test/SQLancer/Tests/sqlancer09.sql @@ -54,3 +54,21 @@ all(values ((select all 0.1 where true)) when -2 then -5 end), (((1)>>(1)))), case when least(true, false) then greatest(timestamp '1970-01-15 21:14:28', timestamp '1970-01-02 15:11:23') end, nullif(timestamp '1970-01-20 08:57:27', sql_add(timestamp '1970-01-07 21:19:48', interval '-3' day)))); ROLLBACK; + +START TRANSACTION; +CREATE TABLE "sys"."t0" ("c0" TIME NOT NULL, "c1" VARCHAR(143), + CONSTRAINT "t0_c0_pkey" PRIMARY KEY ("c0"), CONSTRAINT "t0_c0_unique" UNIQUE ("c0"), CONSTRAINT "t0_c1_unique" UNIQUE ("c1")); +COPY 7 RECORDS INTO "sys"."t0" FROM stdin USING DELIMITERS E'\t',E'\n','"'; +21:19:08 "" +13:02:49 NULL +01:02:11 NULL +16:34:25 NULL +12:11:43 NULL +10:35:38 NULL +04:26:50 NULL + +CREATE TABLE "sys"."t1" ("c0" CHAR(375) NOT NULL, CONSTRAINT "t1_c0_pkey" PRIMARY KEY ("c0"), CONSTRAINT "t1_c0_fkey" FOREIGN KEY ("c0") REFERENCES "sys"."t0" ("c1")); +insert into t1 values (''); +insert into t1(c0) values ((select 'a')), ('b'); +insert into t1(c0) values(r']BW扗}FUp'), (cast((values (greatest(r'Aᨐ', r'_'))) as string(616))), (r''); +ROLLBACK; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list