Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 18328
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: david [...] kineticode.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Build Broken with SQLite 3.3.3
Date: Thu, 23 Mar 2006 13:21:59 -0800
To: bug-dbd-sqlite [...] rt.cpan.org
From: David Wheeler <david [...] kineticode.com>

Message body is not shown because it is too large.

On Thu Mar 23 16:22:27 2006, david@kineticode.com wrote: Show quoted text
> I tried to build DBD::SQLite with the latest release of SQLite. It > seemed to build, but the tests fail pretty badly. :-(
I have mailed matt a patch, as attached with this reply. It also builds cleanly against the bundled 3.2.7. Audrey
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) {
Subject: Re: [rt.cpan.org #18328] Build Broken with SQLite 3.3.3
Date: Mon, 27 Mar 2006 08:37:03 -0800
To: bug-DBD-SQLite [...] rt.cpan.org
From: David Wheeler <david [...] kineticode.com>
On Mar 26, 2006, at 17:38, Audrey Tang via RT wrote: Show quoted text
> I have mailed matt a patch, as attached with this reply. It also > builds > cleanly against the bundled 3.2.7.
Audrey++ # Works great! Thanks! David