rpms/sqlite/F-9 sqlite-3.5.9-remove-temporary.patch, NONE, 1.1 sqlite.spec, 1.39, 1.40

Panu Matilainen pmatilai at fedoraproject.org
Tue Sep 30 05:51:20 UTC 2008


Author: pmatilai

Update of /cvs/pkgs/rpms/sqlite/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22058

Modified Files:
	sqlite.spec 
Added Files:
	sqlite-3.5.9-remove-temporary.patch 
Log Message:
- Remove references to temporary registers from cache on release (#463061)


sqlite-3.5.9-remove-temporary.patch:

--- NEW FILE sqlite-3.5.9-remove-temporary.patch ---
diff -up sqlite-3.5.9/src/expr.c.remove-temp sqlite-3.5.9/src/expr.c
--- sqlite-3.5.9/src/expr.c.remove-temp	2008-05-13 15:50:50.000000000 +0300
+++ sqlite-3.5.9/src/expr.c	2008-09-22 18:04:39.000000000 +0300
@@ -3428,6 +3428,7 @@ int sqlite3GetTempReg(Parse *pParse){
 }
 void sqlite3ReleaseTempReg(Parse *pParse, int iReg){
   if( iReg && pParse->nTempReg<ArraySize(pParse->aTempReg) ){
+    sqlite3ExprWritableRegister(pParse, iReg, iReg);
     pParse->aTempReg[pParse->nTempReg++] = iReg;
   }
 }


Index: sqlite.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sqlite/F-9/sqlite.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- sqlite.spec	10 Jul 2008 15:39:22 -0000	1.39
+++ sqlite.spec	30 Sep 2008 05:50:50 -0000	1.40
@@ -6,12 +6,13 @@
 Summary: Library that implements an embeddable SQL database engine
 Name: sqlite
 Version: 3.5.9
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Public Domain
 Group: 	Applications/Databases
 URL: http://www.sqlite.org/
 Source: http://www.sqlite.org/sqlite-%{version}.tar.gz
 Patch1: sqlite-3.5.8-pkgconfig-version.patch
+Patch2: sqlite-3.5.9-remove-temporary.patch
 Obsoletes: sqlite3 sqlite3-devel
 BuildRequires: ncurses-devel readline-devel glibc-devel
 BuildRequires: /usr/bin/tclsh
@@ -52,6 +53,7 @@
 %prep
 %setup -q
 %patch1 -p1 -b .pkgconf
+%patch2 -p1 -b .remove-temp
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -Wall"
@@ -109,6 +111,9 @@
 %endif
 
 %changelog
+* Tue Sep 30 2008 Panu Matilainen <pmatilai at redhat.com> - 3.5.9-2
+- Remove references to temporary registers from cache on release (#463061)
+
 * Tue Jun 17 2008 Stepan Kasal <skasal at redhat.com> - 3.5.9-1
 - update to 3.5.9
 




More information about the fedora-extras-commits mailing list