Changeset: a75b169a4ccd for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a75b169a4ccd
Modified Files:
gdk/gdk_bat.c
sql/backends/monet5/sql.c
Branch: Jun2016
Log Message:
Move property setting to the correct place.
diffs (23 lines):
diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -323,6 +323,7 @@ BATattach(int tt, const char *heapfile,
* are no NIL values, we cannot safely assume there are none.
*/
bn->T->nonil = 0;
+ bn->T->nil = 0;
if (cap > 1) {
bn->tsorted = 0;
bn->trevsorted = 0;
diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -3554,8 +3554,6 @@ mvc_bin_import_table_wrap(Client cntxt,
if (c == NULL)
throw(SQL, "sql", "Failed to attach file %s",
*getArgReference_str(stk, pci, i));
BATsetaccess(c, BAT_READ);
- c->T->nil = 0;
- c->T->nonil = 0;
BATderiveProps(c, 0);
} else if (tpe == TYPE_str) {
/* get the BAT and fill it with the strings */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list