Changeset: 7a54fa6ec849 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7a54fa6ec849
Modified Files:
        gdk/gdk_select.c
Branch: Oct2012
Log Message:

Fix for anti select of half range.
An anti select for a half range is converted into a normal select for
the opposite range.  But we need to negate the inclusive flags.


diffs (14 lines):

diff --git a/gdk/gdk_select.c b/gdk/gdk_select.c
--- a/gdk/gdk_select.c
+++ b/gdk/gdk_select.c
@@ -644,8 +644,8 @@ BATsubselect(BAT *b, BAT *s, const void 
                        int ti;
                        assert(!equi);
                        ti = li;
-                       li = hi;
-                       hi = ti;
+                       li = !hi;
+                       hi = !ti;
                        tv = tl;
                        tl = th;
                        th = tv;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to