Changeset: 3f18d3fa7a81 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/3f18d3fa7a81
Added Files:
        sql/test/BugTracker-2026/Tests/7835-strcmp-NULL-crash.test
Modified Files:
        sql/test/BugTracker-2026/Tests/All
Branch: Dec2025
Log Message:

Add test for #7835


diffs (18 lines):

diff --git a/sql/test/BugTracker-2026/Tests/7835-strcmp-NULL-crash.test 
b/sql/test/BugTracker-2026/Tests/7835-strcmp-NULL-crash.test
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2026/Tests/7835-strcmp-NULL-crash.test
@@ -0,0 +1,4 @@
+query II
+SELECT x , CASE WHEN x = 12 THEN 1 ELSE x * ( 3 - x ) END AS x FROM ( SELECT 
10 AS x UNION SELECT 11 AS x UNION SELECT 12 AS x UNION SELECT 10 AS x GROUP BY 
x HAVING NOT x < ANY ( NULLIF ( ( WITH RECURSIVE x ( x ) AS ( SELECT 1 UNION 
SELECT x + 1 FROM x WHERE x < 8 ) SELECT - COUNT ( * ) FROM ( WITH RECURSIVE x 
( x ) AS ( SELECT ( - 70 ) - - 99 * - 0 AS x UNION SELECT x + 1 FROM ( SELECT 
rank ( ) OVER ( ) AS x FROM ( SELECT count ( * ) , substr ( x , count ( x ) , 
NULL ) AS x FROM x ) ) AS x WHERE x < 20 ) SELECT x FROM x WHERE x NOT IN ( 8 , 
12 , 16 , 24 , 32 ) OR x = 512 ) WHERE NOT 218 BETWEEN - x AND NULL ) , NULL ) 
IS NULL ) UNION SELECT 11 AS x UNION SELECT CAST( '-1.0' AS NUMERIC ) UNION 
SELECT 265 AS x )
+----
+
diff --git a/sql/test/BugTracker-2026/Tests/All 
b/sql/test/BugTracker-2026/Tests/All
--- a/sql/test/BugTracker-2026/Tests/All
+++ b/sql/test/BugTracker-2026/Tests/All
@@ -38,4 +38,5 @@ KNOWNFAIL?7801-assertion-failure
 7832-strcmp-NULL-crash
 KNOWNFAIL?7833-assertion-failure
 7834-BATsubcross-more-than-one-match
+KNOWNFAIL?7835-strcmp-NULL-crash
 7836-use-after-free
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to