diff -durN DBD-SQLite-1.11/dbdimp.c DBD-SQLite-1.11.new/dbdimp.c --- DBD-SQLite-1.11/dbdimp.c Sat Dec 3 01:28:53 2005 +++ DBD-SQLite-1.11.new/dbdimp.c Mon Mar 27 09:18:19 2006 @@ -260,7 +260,7 @@ imp_sth->retval = SQLITE_OK; imp_sth->params = newAV(); - if ((retval = sqlite3_prepare(imp_dbh->db, statement, 0, &(imp_sth->stmt), &extra)) + if ((retval = sqlite3_prepare(imp_dbh->db, statement, -1, &(imp_sth->stmt), &extra)) != SQLITE_OK) { if (imp_sth->stmt) { @@ -320,7 +320,7 @@ psv = hv_fetch((HV*)SvRV(sth), "Statement", 9, 0); statement = (psv && SvOK(*psv)) ? SvPV_nolen(*psv) : ""; sqlite_trace(3, "re-prepare statement %s", statement); - if ((retval = sqlite3_prepare(imp_dbh->db, statement, 0, &(imp_sth->stmt), &extra)) + if ((retval = sqlite3_prepare(imp_dbh->db, statement, -1, &(imp_sth->stmt), &extra)) != SQLITE_OK) { if (imp_sth->stmt) {