• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transaction system

I've got a question about the Transaction system
and more precisely, about the trans_rollback() method in a nested transaction

I looked at the code in the DB_driver.php file and it seems that in a nested transaction, a trans_commit() call does the same job than a trans_rollback() call : it just decrements the _trans_depth counter
I agree for the trans_commit() method but for the trans_rollback() method, I expected a rollback for the main transaction

How can I really rollback when I rollback in a nested transaction ?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.