medicalassistantsyez
New Member
Given:\[code\]mysql_query("START TRANSACTION");mysql_query("UPDATE foo = 'bar'");die();\[/code\]\[code\]die()\[/code\] stops the transaction before I can \[code\]COMMIT\[/code\] or \[code\]ROLLBACK\[/code\]. Looking at my tables, it appears that the update doesn't take place, but if I run queries later in another script, are they still part of that initial transaction? Is the transaction still 'open' until I \[code\]COMMIT\[/code\] or \[code\]ROLLBACK\[/code\]?