From dec1e584f46fb1b4c3eebc5fdff16ce8d3a21a02 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Thu, 29 Jan 2009 02:03:54 +0000 Subject: [PATCH] DBD::SQLite: reverted RT #40383 patch which turns out to be somewhat insufficient (causes segfaults) --- dbdimp.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dbdimp.c b/dbdimp.c index 22bfe09..8dcab51 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -151,13 +151,8 @@ sqlite_db_disconnect (SV *dbh, imp_dbh_t *imp_dbh) } if (sqlite3_close(imp_dbh->db) == SQLITE_BUSY) { - sqlite3_stmt *pStmt; /* active statements! */ - - while ((pStmt = sqlite3_next_stmt(imp_dbh->db, NULL)) != NULL) - sqlite3_finalize(pStmt); - - sqlite3_close(imp_dbh->db); + warn("closing dbh with active statement handles"); } imp_dbh->db = NULL;