in reply to Re: turning off Autocommit (MySql)
in thread turning off Autocommit (MySql)
Output is:status= And it didn't rollback the creation of a database....$dbh = DBI->connect($dbc, $root, $passwd, {AutoCommit => 0, RaiseError + => 1}) ; $dbh->{'AutoCommit'} $dbh->{'AutoCommit'} = 0; if ($dbh->{'AutoCommit'}) { print "An error occurred!\n" ; } print "status=".$dbh->{'AutoCommit'}."\n" ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: turning off Autocommit (MySql)
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 | |
by tirwhan (Abbot) on Nov 11, 2005 at 16:01 UTC | |
by jeanluca (Deacon) on Nov 11, 2005 at 16:00 UTC |