Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: joshp-ttam.z.jp [...] xoxy.net
Cc:
AdminCc:

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



Subject: DBD::SQLite error shouldn't include extraneous info
To more closely follow the DBI interface specification, DBD::SQLite shouldn't append "($error_code) at $file line $line" to $DBI::errstr. According to 'perldoc DBI', $DBI::errstr is supposed to contain just "the /native/ database engine error message from the last DBI method called". (emphasis mine). Appending any other information breaks this. In any event, the file/line information is unhelpful to the user, since the referenced file is always part of the XS interface code, not part of the SQLite code. Finally, DBD::SQLite already puts the error code in $DBI::err, so there's no need to append it to $DBI::errstr.
Resolved in 1.19_07