Changeset: efba060e9685 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/efba060e9685
Modified Files:
sql/storage/bat/bat_storage.c
Branch: Jul2021
Log Message:
Cleanup.
diffs (19 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
@@ -2530,13 +2530,12 @@ create_del(sql_trans *tr, sql_table *t)
if (!bat) {
new = 1;
bat = ZNEW(storage);
- ATOMIC_PTR_SET(&t->data, bat);
if(!bat)
return LOG_ERR;
+ ATOMIC_PTR_SET(&t->data, bat);
bat->cs.refcnt = 1;
+ bat->cs.ts = tr->tid;
}
- if (new)
- bat->cs.ts = tr->tid;
if (!isNew(t) && !isTempTable(t)) {
bat->cs.ts = tr->ts;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list