Changeset: 1a7fd72f6765 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/1a7fd72f6765 Modified Files: sql/ChangeLog.Sep2022 sql/storage/store.c Branch: Sep2022 Log Message:
Fixed a regression where dependencies weren't always properly checked. This is a rollback of changeset 525a778475ae. diffs (25 lines): diff --git a/sql/ChangeLog.Sep2022 b/sql/ChangeLog.Sep2022 --- a/sql/ChangeLog.Sep2022 +++ b/sql/ChangeLog.Sep2022 @@ -1,6 +1,10 @@ # ChangeLog file for sql # This file is updated with Maddlog +* Mon Jan 23 2023 Sjoerd Mullender <[email protected]> +- Fixed a regression where when there are multiple concurrent + transactions, the dependencies weren't checked properly. + * Fri Dec 16 2022 Sjoerd Mullender <[email protected]> - Added some error checking to prevent crashes. Errors would mainly occur under memory pressure. diff --git a/sql/storage/store.c b/sql/storage/store.c --- a/sql/storage/store.c +++ b/sql/storage/store.c @@ -3928,7 +3928,6 @@ sql_trans_commit(sql_trans *tr) } if (!tr->parent && - ATOMIC_GET(&store->nr_active) == 1 && (!list_empty(tr->dependencies) || !list_empty(tr->depchanges))) { ok = transaction_check_dependencies_and_removals(tr); if (ok != LOG_OK) { _______________________________________________ checkin-list mailing list -- [email protected] To unsubscribe send an email to [email protected]
