From d22ffe608db9c7110e56498e63a775720fa00651 Mon Sep 17 00:00:00 2001 From: prabatuty Date: Sat, 21 May 2011 19:50:32 +0000 Subject: [PATCH] fixing compilation issue --- src/storage/Transaction.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/Transaction.cxx b/src/storage/Transaction.cxx index dc06e74c..9242737f 100644 --- a/src/storage/Transaction.cxx +++ b/src/storage/Transaction.cxx @@ -26,7 +26,7 @@ DbRetVal Transaction::insertIntoHasList(Database *sysdb, LockHashNode *node) //allocate lock node Chunk *chunk = sysdb->getSystemDatabaseChunk(TransHasTableId); DbRetVal rv = OK; - TransHasNode *hasNode = chunk->tryallocate(sysdb, &rv, 1000); + TransHasNode *hasNode =(TransHasNode*)chunk->tryAllocate(sysdb, &rv, 1000); if (NULL == hasNode) { return rv; -- 2.11.4.GIT