From 165b91cf76693185f43740e0f522494ffe7bcd16 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Thu, 27 Jul 2006 23:59:21 +0000 Subject: [PATCH] compensations_init() was being called too late. --- src/lladd/transactional2.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lladd/transactional2.c b/src/lladd/transactional2.c index 1125e02..a8fb892 100644 --- a/src/lladd/transactional2.c +++ b/src/lladd/transactional2.c @@ -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();