You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
973 B
22 lines
973 B
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) {
|