From 044e2f403850f6079e17c4840e5d555533c05b4a Mon Sep 17 00:00:00 2001 From: Max Maischein Date: Tue, 31 Mar 2009 21:45:00 +0000 Subject: [PATCH] Fixed failing t/07busy.t, fixed Changes file, bumped version to _05 --- Changes | 6 ++++-- dbdimp.c | 3 +-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Changes b/Changes index e0f855e..793bf16 100644 --- a/Changes +++ b/Changes @@ -1,11 +1,13 @@ Revision history for Perl extension DBD-SQLite. -1.19_04 not yet released - - Updated to SQLite 3.6.12 (ISHIGAKI) +1.19_05 not yet released - Added collations from DBD::SQLite::Amalgamation (CORION) . DBD::SQLite::Amalgamation 3.6.1.2 and DBD::SQLite 1.19_04 should be feature identical now. +1.19_04 not yet released + - Updated to SQLite 3.6.12 (ISHIGAKI) + 1.19_03 Tue 31 Mar 2009 - Added ->column_info() (CORION) diff --git a/dbdimp.c b/dbdimp.c index 36cec77..a785239 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -398,8 +398,7 @@ sqlite_st_execute (SV *sth, imp_sth_t *imp_sth) if (imp_sth->retval == SQLITE_ROW) { continue; } - /* There are bug reports that say this should be sqlite3_reset() */ - sqlite3_finalize(imp_sth->stmt); + sqlite3_reset(imp_sth->stmt); sqlite_error(sth, (imp_xxh_t*)imp_sth, imp_sth->retval, (char*)sqlite3_errmsg(imp_dbh->db)); return -5; }