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.