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() {
|
int Tinit() {
|
||||||
pthread_mutex_init(&transactional_2_mutex, NULL);
|
pthread_mutex_init(&transactional_2_mutex, NULL);
|
||||||
numActiveXactions = 0;
|
numActiveXactions = 0;
|
||||||
setupOperationsTable();
|
|
||||||
|
|
||||||
|
compensations_init();
|
||||||
|
|
||||||
|
setupOperationsTable();
|
||||||
dirtyPagesInit();
|
dirtyPagesInit();
|
||||||
|
|
||||||
bufInit();
|
bufInit();
|
||||||
|
@ -115,12 +117,14 @@ int Tinit() {
|
||||||
try_ret(compensation_error()) {
|
try_ret(compensation_error()) {
|
||||||
pageOperationsInit();
|
pageOperationsInit();
|
||||||
} end_ret(compensation_error());
|
} end_ret(compensation_error());
|
||||||
|
|
||||||
initNestedTopActions();
|
initNestedTopActions();
|
||||||
|
|
||||||
TallocInit();
|
TallocInit();
|
||||||
|
|
||||||
ThashInit();
|
ThashInit();
|
||||||
LinearHashNTAInit();
|
LinearHashNTAInit();
|
||||||
LinkedListNTAInit();
|
LinkedListNTAInit();
|
||||||
compensations_init();
|
|
||||||
iterator_init();
|
iterator_init();
|
||||||
consumer_init();
|
consumer_init();
|
||||||
setupLockManagerCallbacksNil();
|
setupLockManagerCallbacksNil();
|
||||||
|
|
Loading…
Reference in a new issue