Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 306
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: miyagawa [...] bulknewss.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: (no value)



Subject: handler attribute
With the following script, setting RaiseError on $sth is ignored, and just died in "no such table" error. (commented mysql results in no error) use strict; use DBI; my $dbh = DBI->connect('dbi:SQLite:dbname=/tmp/sql.db', '', '', { RaiseError => 1 }); #my $dbh = DBI->connect('dbi:mysql:test', 'root', '', { RaiseError => 1 }); my $sth = $dbh->prepare('SELECT * FROM ___'); local $sth->{RaiseError} = 0; $sth->execute; warn "-- OK --\n";
Fixed in CVS. Thanks.