From 15135482adf5a4e556e25576e4b1f408e6343e79 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 1 Sep 2004 04:50:17 +0200 Subject: Fix bug in trans counter for read --- ndb/src/kernel/blocks/dbtc/DbtcMain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp b/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp index a63491551eb..0ed88b3c2b6 100644 --- a/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp +++ b/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp @@ -2675,12 +2675,12 @@ void Dbtc::execTCKEYREQ(Signal* signal) regCachePtr->attrinfo15[3] = Tdata5; if (TOperationType == ZREAD) { - Uint8 TreadCount = c_counters.creadCount; + Uint32 TreadCount = c_counters.creadCount; jam(); regCachePtr->opLock = 0; c_counters.creadCount = TreadCount + 1; } else if(TOperationType == ZREAD_EX){ - Uint8 TreadCount = c_counters.creadCount; + Uint32 TreadCount = c_counters.creadCount; jam(); TOperationType = ZREAD; regTcPtr->operation = ZREAD; -- cgit v1.2.1