Changeset: 3a91dc1f2c1d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/3a91dc1f2c1d
Modified Files:
        sql/backends/monet5/rel_bin.c
        sql/test/BugTracker-2026/Tests/All
Branch: Dec2025
Log Message:

fixes for issue #7937, ie on nulls use diff.


diffs (22 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
@@ -3658,7 +3658,7 @@ rel2bin_antijoin(backend *be, sql_rel *r
                                li = ls;
 
                        if (!en->next && !is_anti(e) && e->flag != cmp_notequal 
&&
-                               (constval || stmt_has_null(ls))) {
+                               (constval || stmt_has_null(ls) || 
stmt_has_null(rs))) {
                                join = stmt_tdiff2(be, ls, rs, NULL, 
is_semantics(e), is_any(e));
                                jexps = NULL;
                        } else {
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
@@ -128,5 +128,5 @@ KNOWNFAIL?7931-rel2bin_select-assertion-
 7932-canditer_init-assertion-failure
 7933-query-without-result-bug
 7934-ALGouterselect-assertion-failure
-KNOWNFAIL?7937-where-not-in-values-null-bug
+7937-where-not-in-values-null-bug
 7938-not-x-is-const-and-x-is-not-null-bug
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to