Changeset: 0bd26fa9e121 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0bd26fa9e121
Modified Files:
        sql/storage/bat/bat_storage.c
Branch: default
Log Message:

fixed problem with delete all


diffs (16 lines):

diff --git a/sql/storage/bat/bat_storage.c b/sql/storage/bat/bat_storage.c
--- a/sql/storage/bat/bat_storage.c
+++ b/sql/storage/bat/bat_storage.c
@@ -1567,7 +1567,12 @@ tr_update_delta( sql_trans *tr, sql_delt
        (void)tr;
        assert(store_nr_active==1);
 
+       
        /* for cleared tables the bid is reset */
+       if (obat->bid == 0) {
+               int type = BBPquickdesc(cbat->ibid, 0)->ttype; 
+               obat->bid = e_bat(type);
+       }
        if (cbat->bid == 0) {
                cleared = 1;
                cbat->bid = obat->bid;
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to