Changeset: f38103527022 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f38103527022
Modified Files:
        gdk/gdk_bat.c
Branch: Jul2015
Log Message:

fixing bug 3937: unset "nonil" property with copy binary into:

Unless/until we invest in a scan to check that there indeed
are no NIL values, we cannot safely assume there are none.

Test still pending.


diffs (15 lines):

diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -354,6 +354,11 @@ BATattach(int tt, const char *heapfile, 
        BATkey(bn, TRUE);
        BATsetcapacity(bn, cap);
        BATsetcount(bn, cap);
+       /*
+        * Unless/until we invest in a scan to check that there indeed
+        * are no NIL values, we cannot safely assume there are none.
+        */
+       bn->T->nonil = 0;
        if (cap > 1) {
                bn->tsorted = 0;
                bn->trevsorted = 0;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to