Changeset: 8fd9eeffd0e8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/8fd9eeffd0e8
Added Files:
sql/test/BugTracker-2025/Tests/7729-tail_type-crash.test
Modified Files:
sql/test/BugTracker-2025/Tests/All
Branch: Dec2025
Log Message:
Add test for #7729
diffs (21 lines):
diff --git a/sql/test/BugTracker-2025/Tests/7729-tail_type-crash.test
b/sql/test/BugTracker-2025/Tests/7729-tail_type-crash.test
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2025/Tests/7729-tail_type-crash.test
@@ -0,0 +1,5 @@
+-- Segmentation fault in tail_type (st=0x0) at
sql/backends/monet5/sql_statement.c:4647 switch (st->type) {
+query I
+SELECT ( WITH x ( x ) AS ( SELECT DISTINCT 1 ) SELECT ( SELECT x FROM x WHERE
x = ( SELECT ( CASE WHEN x THEN x END ) WHERE ( SELECT x FROM x WHERE ( x , (
SELECT ( WITH x ( x ) AS ( SELECT DISTINCT 1 ) SELECT ( SELECT x FROM x WHERE x
= ( SELECT ( CASE WHEN x THEN x END ) WHERE 1 + 1 + 1 + 1 + 1 + 1 + 1 +
9223372036854775808.000000 + 1 + 1 = ( SELECT x FROM x ) AND x GROUP BY 1
HAVING ( - 'x' >= x IS NOT NULL = ( 1 < x AND x < 'x' ) AND x = 8 ) ) GROUP BY
x HAVING ( 9 = -1 AND x = 8 ) ) FROM x ) LIMIT 10 OFFSET 0 ) ) NOT IN ( SELECT
x , x FROM x WHERE x > 1 ) ) AND x ) ) FROM x )
+----
+
diff --git a/sql/test/BugTracker-2025/Tests/All
b/sql/test/BugTracker-2025/Tests/All
--- a/sql/test/BugTracker-2025/Tests/All
+++ b/sql/test/BugTracker-2025/Tests/All
@@ -69,6 +69,7 @@ HAVE_HGE?7637_str_to_decimal
7724-sql_ref_inc-error
7725-crash-find-rel-ref
7726-commonterms
+KNOWNFAIL?7729-tail_type-crash
7730-generate-series-month-int
7732-table-exp-issue
7734-epoch-missing-cast
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]