Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: david [...] kineticode.com
Cc:
AdminCc:

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



Subject: Warning Should not End in Newline
Date: Sun, 23 Jul 2006 21:23:56 -0700
To: bug-dbd-sqlite [...] rt.cpan.org
From: David Wheeler <david [...] kineticode.com>
I noticed this warning in my code: closing dbh with active statement handles But didn't tell me where the problem was. If you take out the newline in the warning, I can then see the context: closing dbh with active statement handles at ~/bin/try line 57. Here's the patch: --- dbdimp.c 2006-07-23 21:20:25.000000000 -0700 +++ dbdimp.c 2006-07-23 21:20:27.000000000 -0700 @@ -152,7 +152,7 @@ if (sqlite3_close(imp_dbh->db) == SQLITE_BUSY) { /* active statements! */ - warn("closing dbh with active statement handles\n"); + warn("closing dbh with active statement handles"); } imp_dbh->db = NULL; Thanks! David
Applying, thanks.