compensations_init() was being called too late.

This commit is contained in:
Sears Russell 2006-07-27 23:59:21 +00:00
parent a0f1a4a7c1
commit 165b91cf76

View file

@ -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();