Changeset: 1edd98e487f8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1edd98e487f8
Modified Files:
tools/monetdbe/monetdbe.c
Branch: Oct2020
Log Message:
fix properties on append when using the bat content swap trick
diffs (18 lines):
diff --git a/tools/monetdbe/monetdbe.c b/tools/monetdbe/monetdbe.c
--- a/tools/monetdbe/monetdbe.c
+++ b/tools/monetdbe/monetdbe.c
@@ -1256,6 +1256,14 @@ monetdbe_append(monetdbe_database dbhdl,
//set default flags
BATsettrivprop(bn);
+ if (cnt > 1) {
+ bn->tsorted = bn->trevsorted = false;
+ bn->tnosorted = bn->tnorevsorted = true;
+ bn->tkey = false;
+ bn->tnonil = false;
+ bn->tnil = false;
+ }
+
if (store_funcs.append_col(m->session->tr, c, bn,
TYPE_bat) != 0) {
bn->theap.base = prev_base;
bn->theap.size = prev_size;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list