[Nomads-pm] DBI RaiseError
Michael S. E. Kraus
mkraus at wilddsl.com.au
Tue Mar 29 22:12:17 PST 2005
G'day all...
When doing something like the following:
use DBI;
my $dbh = DBI->connect("dbi:mysql:table:server", "user", "pass", {RaiseError
=> 1, AutoCommit => 0});
... <other stuff here> ...
my @data = $dbh->selectrow_array("SELECT * FROM tablename WHERE a = ? and b
= ?", {RaiseError => 0}, @values);
I'm guessing that the RaiseError setting for the database connection stays
set for all other executions (unless otherwise specified).
Is this the case?
TIA! :)
Mike
More information about the Nomads-pm
mailing list