Commit a29f5276 authored by unknown's avatar unknown

ndb - bug#24748

  Skip rollback if only committedRead in transaction


ndb/src/ndbapi/NdbTransaction.cpp:
  Skip rollback if only committedRead in transaction
parent 61c5b80e
...@@ -923,7 +923,10 @@ NdbTransaction::release(){ ...@@ -923,7 +923,10 @@ NdbTransaction::release(){
* The user did not perform any rollback but simply closed the * The user did not perform any rollback but simply closed the
* transaction. We must rollback Ndb since Ndb have been contacted. * transaction. We must rollback Ndb since Ndb have been contacted.
************************************************************************/ ************************************************************************/
if (!theSimpleState)
{
execute(Rollback); execute(Rollback);
}
}//if }//if
theMagicNumber = 0xFE11DC; theMagicNumber = 0xFE11DC;
theInUseState = false; theInUseState = false;
......
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