Faqts : Computers : Databases : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 4 people (75%) answered Yes
Recently 3 of 4 people (75%) answered Yes

Entry

does connection.rollback work even after setting auto commit as false

Mar 15th, 2004 10:13
Matt Chatterley, vin ven,


I'm not entirely sure what you mean, but the default behaviour in MySQL,
regardless of AUTOCOMMIT is to rollback ALL open transactions if the
connection is closed or aborted without a COMMIT or ROLLBACK being issued.