Changeset: 6d7264a94123 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6d7264a94123
Modified Files:
        sql/storage/bat/bat_table.c
Branch: unlock
Log Message:

for now use old style candidates when loading the database.


diffs (19 lines):

diff --git a/sql/storage/bat/bat_table.c b/sql/storage/bat/bat_table.c
--- a/sql/storage/bat/bat_table.c
+++ b/sql/storage/bat/bat_table.c
@@ -15,7 +15,14 @@ static BAT *
 delta_cands(sql_trans *tr, sql_table *t)
 {
        sqlstore *store = tr->store;
-       return store->storage_api.bind_cands(tr, t, 1, 0);
+       BAT *cands = store->storage_api.bind_cands(tr, t, 1, 0);
+
+       if (cands && (cands->ttype == TYPE_msk || mask_cand(cands))) {
+               BAT *ncands = BATunmask(cands);
+               BBPreclaim(cands);
+               cands = ncands;
+       }
+       return cands;
 }
 
 static BAT *
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to