ndb - bug#24748

  Skip rollback if only committedRead in transaction
parent 61c6f532
...@@ -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.
************************************************************************/ ************************************************************************/
execute(Rollback); if (!theSimpleState)
{
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