Commit 58c30f2b authored by joreland@mysql.com's avatar joreland@mysql.com

Fix bug in trans counter for read

parent 30171dd1
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment