Your message dated Tue, 7 Apr 2009 16:27:02 +0200
with message-id <[email protected]>
and subject line fixed upstream
has caused the Debian Bug report #390144,
regarding closing dbh with active statement handles
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
390144: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390144
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libdbd-sqlite3-perl
Version: 1.13-1

Simple PERL script produces the error "closing dbh with active statement
handles" on disconnect.


Create a sample empty database (also errors if there is data in the table):

echo 'CREATE TABLE test_table (column_one text);' | sqlite3 test_sqlite.db


then run the following script:

#!/usr/bin/perl -w
#
use strict;
use DBI;


my($dbh) = DBI->connect("DBI:SQLite:dbname=test_sqlite.db");
unless($dbh) {
        print(STDERR "${ProgName}: Cannot connect to database\n");
        exit(1);
}

my($sqlite_version) = $dbh->{sqlite_version};
print("\$sqlite_version = [$sqlite_version]\n");

my($sql_S) = $dbh->prepare("SELECT column_one FROM test_table") ||
die($dbh->errstr());

$sql_S->execute() || die($dbh->errstr());

while($sql_S->fetchrow_hashref()) {
}
$sql_S->finish() || die($dbh->errstr());

$dbh->disconnect();

# Program End
exit(0);

A search of Google turns up a few references to this, but nothing that
seems to fix or explain the issue.


Matt.


--- End Message ---
--- Begin Message ---
Version: 1.19~10-1

According to the upstream Changes and bug tracker, this bug is fixed
since 1.19_08.

Cheers,
gregor
-- 
 .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: DKP: Die Moorsoldaten

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to