Changeset: 53e201ee51a9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/53e201ee51a9
Modified Files:
        sql/storage/bat/bat_storage.c
Branch: tempscs2os
Log Message:

final fixes: locally all tests are now green


diffs (23 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
@@ -3066,7 +3066,7 @@ create_col(sql_trans *tr, sql_column *c)
                bat->cs.ucnt = 0;
 
                if (new && !isTempTable(c->t) && !isNew(c->t) /* alter */)
-                       trans_add(tr, &c->base, bat, &tc_gc_col, 
&commit_create_col, isTempTable(c->t) ? NULL : &log_create_col);
+                       trans_add(tr, &c->base, bat, &tc_gc_col, 
&commit_create_col, &log_create_col);
        }
        return ok;
 }
@@ -3165,8 +3165,8 @@ create_idx(sql_trans *tr, sql_idx *ni)
                                ok = LOG_ERR;
                }
                bat->cs.ucnt = 0;
-               if (new && !isNew(ni->t) /* alter */)
-                       trans_add(tr, &ni->base, bat, &tc_gc_idx, 
&commit_create_idx, isTempTable(ni->t) ? NULL : &log_create_idx);
+               if (new && !isTempTable(ni->t) && !isNew(ni->t) /* alter */)
+                       trans_add(tr, &ni->base, bat, &tc_gc_idx, 
&commit_create_idx, &log_create_idx);
        }
        return ok;
 }
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to