compensations_init() was being called too late.
This commit is contained in:
parent
a0f1a4a7c1
commit
165b91cf76
1 changed files with 6 additions and 2 deletions
|
@ -104,8 +104,10 @@ void setupOperationsTable() {
|
|||
int Tinit() {
|
||||
pthread_mutex_init(&transactional_2_mutex, NULL);
|
||||
numActiveXactions = 0;
|
||||
setupOperationsTable();
|
||||
|
||||
compensations_init();
|
||||
|
||||
setupOperationsTable();
|
||||
dirtyPagesInit();
|
||||
|
||||
bufInit();
|
||||
|
@ -115,12 +117,14 @@ int Tinit() {
|
|||
try_ret(compensation_error()) {
|
||||
pageOperationsInit();
|
||||
} end_ret(compensation_error());
|
||||
|
||||
initNestedTopActions();
|
||||
|
||||
TallocInit();
|
||||
|
||||
ThashInit();
|
||||
LinearHashNTAInit();
|
||||
LinkedListNTAInit();
|
||||
compensations_init();
|
||||
iterator_init();
|
||||
consumer_init();
|
||||
setupLockManagerCallbacksNil();
|
||||
|
|
Loading…
Reference in a new issue