Welcome Guest, Not a member yet? Register   Sign In
Transaction system
#1

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 ?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB