File dbimp-no_uninit.diff of Package perl-DBD-SQLite

--- DBD-SQLite-1.11/dbdimp.c.orig	2005-12-02 18:28:53.000000000 +0100
+++ DBD-SQLite-1.11/dbdimp.c	2006-03-13 22:13:51.176441795 +0100
@@ -246,12 +246,12 @@
     int retval;
 
     if (!DBIc_ACTIVE(imp_dbh)) {
-      sqlite_error(sth, (imp_xxh_t*)imp_sth, retval, "attempt to prepare on inactive database handle");
+      sqlite_error(sth, (imp_xxh_t*)imp_sth, 0, "attempt to prepare on inactive database handle");
       return FALSE;
     }
 
     if (strlen(statement) < 1) {
-      sqlite_error(sth, (imp_xxh_t*)imp_sth, retval, "attempt to prepare empty statement");
+      sqlite_error(sth, (imp_xxh_t*)imp_sth, 0, "attempt to prepare empty statement");
       return FALSE;
     }
 
openSUSE Build Service is sponsored by