Author: mmaslano Update of /cvs/pkgs/rpms/perl-DBD-SQLite/EL-5 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7207 Modified Files: perl-DBD-SQLite.spec Added Files: rt32100.patch Log Message: Changing sqlite3_finalize() -> sqlite3_reset() at 2 spots in dbdimp.c resolves many issues. more info in rt32100 or bz#245699 rt32100.patch: --- NEW FILE rt32100.patch --- --- dbdimp.c.orig 2008-03-18 17:37:18.580463431 -0700 +++ dbdimp.c 2008-03-18 17:39:04.320466041 -0700 @@ -399,7 +399,7 @@ continue; } /* There are bug reports that say this should be sqlite3_reset() */ - sqlite3_finalize(imp_sth->stmt); + sqlite3_reset(imp_sth->stmt); sqlite_error(sth, (imp_xxh_t*)imp_sth, imp_sth->retval, (char*)sqlite3_errmsg(imp_dbh->db)); return -5; } @@ -419,7 +419,7 @@ sqlite_trace(5, "exec ok - %d rows, %d cols\n", imp_sth->nrow, DBIc_NUM_FIELDS(imp_sth)); return 0; /* There are bug reports that say this should be sqlite3_reset() */ - default: sqlite3_finalize(imp_sth->stmt); + default: sqlite3_reset(imp_sth->stmt); sqlite_error(sth, (imp_xxh_t*)imp_sth, imp_sth->retval, (char*)sqlite3_errmsg(imp_dbh->db)); return -6; } Index: perl-DBD-SQLite.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-DBD-SQLite/EL-5/perl-DBD-SQLite.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- perl-DBD-SQLite.spec 19 Dec 2007 16:11:45 -0000 1.12 +++ perl-DBD-SQLite.spec 15 Jul 2008 12:13:14 -0000 1.13 @@ -1,6 +1,6 @@ Name: perl-DBD-SQLite Version: 1.14 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Self Contained RDBMS in a DBI Driver Group: Development/Libraries @@ -9,6 +9,9 @@ Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# see http://rt.cpan.org/Public/Bug/Display.html?id=30558 +Patch0: rt32100.patch + BuildRequires: perl-DBI >= 1.03 # if sqlite >= 3.1.3 then # perl-DBD-SQLite uses the external library @@ -31,7 +34,7 @@ %prep %setup -q -n DBD-SQLite-%{version} - +%patch0 %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -64,6 +67,10 @@ %changelog +* Tue Jul 15 2008 Marcela Maslanova <mmaslano@xxxxxxxxxx> 1.14-3 +- add rt32100 patch +- same problem as in #245699 + * Wed Dec 19 2007 Steven Pritchard <steve@xxxxxxxxx> 1.14-2 - Fix find option order. - Use fixperms macro instead of our own chmod incantation. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list