Changeset: 5b54a5ea813a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/5b54a5ea813a Modified Files: sql/backends/monet5/sql_result.c Branch: directappend Log Message:
Set BAT properties on the oid_bat Long live --debug=10! diffs (16 lines): diff --git a/sql/backends/monet5/sql_result.c b/sql/backends/monet5/sql_result.c --- a/sql/backends/monet5/sql_result.c +++ b/sql/backends/monet5/sql_result.c @@ -1052,6 +1052,12 @@ mvc_import_table(Client cntxt, BAT ***ba if (loadops) { // Return a single result, the all_offsets BAT. BAT *oids_bat = directappend_state.all_offsets; + oids_bat->tnil = false; + oids_bat->tnonil = true; + oids_bat->tsorted = true; + oids_bat->trevsorted = false; + oids_bat->tkey = true; + oids_bat->tseqbase = oid_nil; directappend_state.all_offsets = NULL; // otherwise we'll try to reclaim it later BBPfix(oids_bat->batCacheid); (*bats)[0] = oids_bat; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list