Changeset: a3c9f7d877f9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a3c9f7d877f9
Modified Files:
        sql/backends/monet5/sql_statement.c
Branch: default
Log Message:

properly handle anti in join of issue # 7652


diffs (16 lines):

diff --git a/sql/backends/monet5/sql_statement.c 
b/sql/backends/monet5/sql_statement.c
--- a/sql/backends/monet5/sql_statement.c
+++ b/sql/backends/monet5/sql_statement.c
@@ -2440,6 +2440,12 @@ stmt_join_cand(backend *be, stmt *op1, s
 
        assert (!single || cmptype == cmp_all);
 
+       if (anti) {
+               if (cmptype == cmp_equal)
+                       cmptype = cmp_notequal;
+               else if (cmptype == cmp_notequal)
+                       cmptype = cmp_equal;
+       }
        switch (cmptype) {
        case cmp_equal:
                q = newStmtArgs(mb, algebraRef, sjt, 9);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to