Welcome Guest, Not a member yet? Register   Sign In
Transactions and MySQL (locking up)
#4

[eluser]gtech[/eluser]
when db_debug is set to FALSE transactions work fine, when db_debug is TRUE when the error is displayed before the commit or rollback takes place as after the display code "exit" is called which halts the php script. Although rollback/commit appears to work on my machine at home with debug on, it does not on other machines. Im guessing this could be a race condition between php exiting and the commit/rollback happening.

long and short set db_debug to FALSE when using transactions in the config/databse.php file.


see reasonings
[url="http://ellislab.com/forums/viewthread/77294/"]http://ellislab.com/forums/viewthread/77294/[/url]


Messages In This Thread
Transactions and MySQL (locking up) - by El Forum - 03-23-2008, 03:55 PM
Transactions and MySQL (locking up) - by El Forum - 03-23-2008, 07:12 PM
Transactions and MySQL (locking up) - by El Forum - 03-25-2008, 11:18 PM
Transactions and MySQL (locking up) - by El Forum - 04-21-2008, 12:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB