Your message dated Sat, 08 Apr 2006 14:32:16 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#361437: fixed in libdbd-sqlite3-perl 1.11-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libdbd-sqlite3-perl
Version: 1.11-1
Severity: grave
Tags: patch


This package is unuseable due to incorrect use of function
sqlite3_prepare(). Any programs that uses methods like do() or prepare()
fail with error messages like this:
  DBD::SQLite::db do failed: not an error(21) at dbdimp.c line 398

Also this backage cannot be build from source anymore due to failed
tests.

Attached patch fixes described problems.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc1-me
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)

Versions of packages libdbd-sqlite3-perl depends on:
ii  libc6                         2.3.6-5    GNU C Library: Shared libraries an
ii  libdbi-perl                   1.50-2     Perl5 database interface by Tim Bu
ii  libsqlite3-0                  3.3.5-0.1  SQLite 3 shared library
ii  perl                          5.8.8-4    Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.8]     5.8.8-4    The Pathologically Eclectic Rubbis

libdbd-sqlite3-perl recommends no packages.

-- no debconf information
diff -urpN libdbd-sqlite3-perl-1.11/dbdimp.c 
libdbd-sqlite3-perl-1.11.mod/dbdimp.c
--- libdbd-sqlite3-perl-1.11/dbdimp.c   2005-12-02 19:28:53.000000000 +0200
+++ libdbd-sqlite3-perl-1.11.mod/dbdimp.c       2006-04-08 19:16:09.000000000 
+0300
@@ -260,7 +260,7 @@ sqlite_st_prepare (SV *sth, imp_sth_t *i
     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 @@ sqlite_st_execute (SV *sth, imp_sth_t *i
         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) {

--- End Message ---
--- Begin Message ---
Source: libdbd-sqlite3-perl
Source-Version: 1.11-2

We believe that the bug you reported is fixed in the latest version of
libdbd-sqlite3-perl, which is due to be installed in the Debian FTP archive:

libdbd-sqlite3-perl_1.11-2.diff.gz
  to pool/main/libd/libdbd-sqlite3-perl/libdbd-sqlite3-perl_1.11-2.diff.gz
libdbd-sqlite3-perl_1.11-2.dsc
  to pool/main/libd/libdbd-sqlite3-perl/libdbd-sqlite3-perl_1.11-2.dsc
libdbd-sqlite3-perl_1.11-2_i386.deb
  to pool/main/libd/libdbd-sqlite3-perl/libdbd-sqlite3-perl_1.11-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niko Tyni <[EMAIL PROTECTED]> (supplier of updated libdbd-sqlite3-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat,  8 Apr 2006 20:25:19 +0300
Source: libdbd-sqlite3-perl
Binary: libdbd-sqlite3-perl
Architecture: source i386
Version: 1.11-2
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <[EMAIL PROTECTED]>
Changed-By: Niko Tyni <[EMAIL PROTECTED]>
Description: 
 libdbd-sqlite3-perl - Perl DBI driver with a self-contained RDBMS
Closes: 361437
Changes: 
 libdbd-sqlite3-perl (1.11-2) unstable; urgency=low
 .
   * dbdimp.c: fix incorrect use of sqlite3_prepare(), unearthed by
     sqlite3-0 upgrade to 3.3.5. Thanks to Eugeniy Meshcheryakov for the
     patch. (Closes: #361437)
Files: 
 2e4c9df139bdac13ce8dcb4d5b27a843 826 perl optional 
libdbd-sqlite3-perl_1.11-2.dsc
 3b932702495a133f8d2c8af6eda6c052 4749 perl optional 
libdbd-sqlite3-perl_1.11-2.diff.gz
 9e75f3922fe24d21e419e1bb16c1da55 47636 perl optional 
libdbd-sqlite3-perl_1.11-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEOCe6+NMfSd6w7DERAg13AJ90/pPzOBd7KzQoYF/dgUm6yJHeqACgv5U5
a5tqL5qrlaUSoUo3d3hgrZQ=
=PlKa
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to