Changeset: a3690f230ff9 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/a3690f230ff9 Added Files: sql/test/BugTracker-2024/Tests/7574-startswith-bug.test Modified Files: sql/test/BugTracker-2024/Tests/All Branch: Aug2024 Log Message:
Add test for bug #7574 diffs (30 lines): diff --git a/sql/test/BugTracker-2024/Tests/7574-startswith-bug.test b/sql/test/BugTracker-2024/Tests/7574-startswith-bug.test new file mode 100644 --- /dev/null +++ b/sql/test/BugTracker-2024/Tests/7574-startswith-bug.test @@ -0,0 +1,17 @@ +statement ok +CREATE TABLE t1(c0 INTEGER, c1 VARCHAR) + +statement ok +CREATE VIEW v0(c0) AS SELECT 'a' FROM t1 + +skipif knownfail +statement error +SELECT * FROM t1, v0 WHERE STARTSWITH(t1.c0, v0.c0, t1.c1) +-- sql/backends/monet5/rel_bin.c:4582: rel2bin_select: Assertion `sql->session->status == -10' failed. + +statement ok +DROP VIEW v0 + +statement ok +DROP TABLE t1 + diff --git a/sql/test/BugTracker-2024/Tests/All b/sql/test/BugTracker-2024/Tests/All --- a/sql/test/BugTracker-2024/Tests/All +++ b/sql/test/BugTracker-2024/Tests/All @@ -89,3 +89,4 @@ 7571-crash-orderby 7563-is-distinct-from 7572-max-length-changes 7570-timestamp-str +7574-startswith-bug _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org