Changeset: dd14a8f337b6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/dd14a8f337b6
Modified Files:
sql/storage/bat/bat_storage.c
Branch: Jan2022
Log Message:
Fix concurrent truncate. (should have been part of changeset 82507b8f073c)
diffs (12 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
@@ -3755,8 +3755,6 @@ clear_del(sql_trans *tr, sql_table *t, i
}
if ((!inTransaction(tr, t) && !in_transaction && isGlobal(t)) ||
(!isNew(t) && isLocalTemp(t)))
trans_add(tr, &t->base, bat, &tc_gc_del, &commit_update_del,
isTempTable(t)?NULL:&log_update_del);
- if (clear && ok == LOG_OK)
- return clear_storage(tr, t, bat);
if (ok == LOG_ERR)
return BUN_NONE;
if (ok == LOG_CONFLICT)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]