in reply to turning off Autocommit (MySql)
From perldoc DBD::mysql:
o Switching AutoCommit mode from on to off or vice versa may fail. +You should always check for errors, when changing AutoCommit mode. T +he suggested way of doing so is using the DBI flag RaiseError. If yo +u don't like RaiseError, you have to use code like the following: $dbh->{'AutoCommit'} = 0; if ($dbh->{'AutoCommit'}) { # An error occurred! }
I'd suggest you set RaiseError and see whether there's an error message which gives you a clue on what's happening.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: turning off Autocommit (MySql)
by jeanluca (Deacon) on Nov 11, 2005 at 13:05 UTC | |
by tirwhan (Abbot) on Nov 11, 2005 at 13:27 UTC | |
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 | |
|