in reply to Re^2: turning off Autocommit (MySql)
in thread turning off Autocommit (MySql)
Your output looks fine, AutoCommit is turned off (otherwise you'd get "An error occurred" output as well as a 1). I don't think database creations can be rolled back though. If alone for the fact that transaction support in MySQL depends on the table type of the database (InnoDB supports transactions, MyISAM doesn't). Try issuing insert/select statements and rolling them back explicitly (or just disconnect without commit) and see what happens.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: turning off Autocommit (MySql)
by jeanluca (Deacon) on Nov 11, 2005 at 15:21 UTC | |
by tirwhan (Abbot) on Nov 11, 2005 at 15:38 UTC | |
by jeanluca (Deacon) on Nov 11, 2005 at 15:49 UTC | |
by tirwhan (Abbot) on Nov 11, 2005 at 16:01 UTC | |
by jeanluca (Deacon) on Nov 11, 2005 at 16:00 UTC |