Changeset: 6f26194beeca for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6f26194beeca
Modified Files:
sql/storage/store.c
Branch: Jul2021
Log Message:
make sure we only cleanup the transactions older than the oldest transaction
diffs (12 lines):
diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -3532,7 +3532,7 @@ sql_trans_rollback(sql_trans *tr, bool c
if (!commit_lock)
MT_lock_set(&store->commit);
store_lock(store);
- ulng oldest = store_timestamp(store);
+ ulng oldest = store_oldest(store);
store_pending_changes(store, oldest);
store_unlock(store);
if (!commit_lock)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]