Mailinglist Archive: opensuse-commit (857 mails)
| < Previous | Next > |
commit sqlite
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Tue, 06 Nov 2007 23:23:28 +0100
- Message-id: <20071106222329.34442678182@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package sqlite
checked in at Tue Nov 6 23:23:28 CET 2007.
--------
--- sqlite/sqlite.changes 2007-10-18 19:05:46.000000000 +0200
+++ /mounts/work_src_done/STABLE/sqlite/sqlite.changes 2007-11-06
14:41:16.000000000 +0100
@@ -1,0 +2,16 @@
+Mon Nov 5 09:40:03 CET 2007 - adrian@xxxxxxx
+
+- update to version 3.5.2
+ From the official changelog:
+ * The OS interface layer and the memory allocation subsystems in
+ SQLite have been reimplemented. The published API is largely
+ unchanged but the (unpublished) OS interface has been modified
+ extensively. Applications that implement their own OS interface
+ will require modification.
+ * This is a large change. Approximately 10% of the source code was
+ modified.
+ * Fix a long-standing bug that might cause database corruption if
+ a disk-full error occurs in the middle of a transaction and that
+ transaction is not rolled back.
+
+-------------------------------------------------------------------
Old:
----
sqlite-3.4.1.tar.bz2
New:
----
sqlite-3.5.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sqlite.spec ++++++
--- /var/tmp/diff_new_pack.d13135/_old 2007-11-06 23:16:46.000000000 +0100
+++ /var/tmp/diff_new_pack.d13135/_new 2007-11-06 23:16:46.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package sqlite (Version 3.4.1)
+# spec file for package sqlite (Version 3.5.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -19,8 +19,8 @@
Group: Productivity/Databases/Servers
Summary: Embeddable SQL Database Engine
Url: http://www.sqlite.org/
-Version: 3.4.1
-Release: 17
+Version: 3.5.2
+Release: 1
Source0: http://www.sqlite.org/%name-%version.tar.bz2
Source1: sqlite.desktop
Source2: sqlite-check_fsync_dir.c
@@ -106,7 +106,7 @@
%build
autoreconf -f -i
- export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG=1 -O3
-DSQLITE_ENABLE_COLUMN_METADATA=1"
+ export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG=1 -O3
-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SERVER=1"
export CXXFLAGS="$CFLAGS"
mkdir build
cd build
@@ -178,6 +178,19 @@
%_libdir/libsqlite*.so
%_libdir/pkgconfig/sqlite3.pc
%changelog
+* Mon Nov 05 2007 - adrian@xxxxxxx
+- update to version 3.5.2
+ From the official changelog:
+ * The OS interface layer and the memory allocation subsystems in
+ SQLite have been reimplemented. The published API is largely
+ unchanged but the (unpublished) OS interface has been modified
+ extensively. Applications that implement their own OS interface
+ will require modification.
+ * This is a large change. Approximately 10%% of the source code was
+ modified.
+ * Fix a long-standing bug that might cause database corruption if
+ a disk-full error occurs in the middle of a transaction and that
+ transaction is not rolled back.
* Thu Oct 18 2007 - sbrabec@xxxxxxx
- Build with column metadata support, as required by libgda.
* Mon Aug 13 2007 - adrian@xxxxxxx
++++++ fix-64bit-3.diff ++++++
--- /var/tmp/diff_new_pack.d13135/_old 2007-11-06 23:16:46.000000000 +0100
+++ /var/tmp/diff_new_pack.d13135/_new 2007-11-06 23:16:46.000000000 +0100
@@ -1,29 +1,29 @@
--- src/printf.c
-+++ src/printf.c 2006/10/02 12:15:46
-@@ -701,7 +701,7 @@
++++ src/printf.c 2007/10/30 08:38:34
+@@ -717,7 +717,7 @@
int nChar; /* Length of the string so far */
int nTotal; /* Output size if unconstrained */
int nAlloc; /* Amount of space allocated in zText */
- void *(*xRealloc)(void*,int); /* Function used to realloc memory */
+ void *(*xRealloc)(void*,size_t); /* Function used to realloc memory */
+ int iMallocFailed; /* True if xRealloc() has failed */
};
- /*
-@@ -746,7 +746,7 @@
+@@ -775,7 +775,7 @@
** the consumer.
*/
static char *base_vprintf(
-- void *(*xRealloc)(void*,int), /* Routine to realloc memory. May be NULL */
-+ void *(*xRealloc)(void*,size_t),/* Routine to realloc memory. May be NULL */
+- void *(*xRealloc)(void*, int), /* realloc() function. May be NULL */
++ void *(*xRealloc)(void*, size_t), /* realloc() function. May be NULL */
int useInternal, /* Use internal %-conversions if true */
char *zInitBuf, /* Initially write here, before mallocing */
int nInitBuf, /* Size of zInitBuf[] */
-@@ -778,7 +778,7 @@
+@@ -811,7 +811,7 @@
/*
** Realloc that is a real function, not a macro.
*/
-static void *printf_realloc(void *old, int size){
+static void *printf_realloc(void *old, size_t size){
- return sqliteRealloc(old,size);
+ return sqlite3_realloc(old, size);
}
++++++ fix-64bit.diff ++++++
--- /var/tmp/diff_new_pack.d13135/_old 2007-11-06 23:16:46.000000000 +0100
+++ /var/tmp/diff_new_pack.d13135/_new 2007-11-06 23:16:46.000000000 +0100
@@ -1,5 +1,16 @@
+--- test/io.test
++++ test/io.test 2007/11/05 08:39:19
+@@ -448,7 +448,7 @@
+ close $fd
+ binary scan $blob i res
+ format 0x%X $res
+- } {0xFFFFFFFF}
++ } {0xFFFFFFFFFFFFFFFF}
+ }
+ do_test io-4.2.3 {
+ execsql { COMMIT }
--- test/types3.test
-+++ test/types3.test 2007/07/30 14:34:11
++++ test/types3.test 2007/11/05 08:39:00
@@ -35,7 +35,7 @@
do_test types3-1.3 {
set V [expr {1+123456789012345}]
++++++ sqlite-3.4.1.tar.bz2 -> sqlite-3.5.2.tar.bz2 ++++++
++++ 76566 lines of diff (skipped)
++++++ sqlite.diff ++++++
--- /var/tmp/diff_new_pack.d13135/_old 2007-11-06 23:16:50.000000000 +0100
+++ /var/tmp/diff_new_pack.d13135/_new 2007-11-06 23:16:50.000000000 +0100
@@ -1,6 +1,6 @@
--- Makefile.in
-+++ Makefile.in 2007/06/26 07:07:30
-@@ -284,7 +284,7 @@
++++ Makefile.in 2007/11/06 10:21:21
+@@ -308,7 +309,7 @@
libsqlite3.la: $(LIBOBJ)
$(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \
@@ -10,7 +10,7 @@
libtclsqlite3.la: tclsqlite.lo libsqlite3.la
$(LTLINK) -o libtclsqlite3.la tclsqlite.lo \
--- test/printf.test
-+++ test/printf.test 2007/06/26 07:07:30
++++ test/printf.test 2007/11/06 10:21:21
@@ -163,12 +163,6 @@
sqlite3_mprintf_scaled {A double: %+g} 1.0e307 100.0
} {A double: +Inf}
@@ -24,29 +24,3 @@
do_test printf-8.3 {
sqlite3_mprintf_int64 {%llu %llu %llu} 2147483647 2147483648 4294967296
} {2147483647 2147483648 4294967296}
---- test/vtab_err.test
-+++ test/vtab_err.test 2007/06/26 07:07:30
-@@ -146,23 +146,4 @@
- COMMIT;
- }
-
--do_malloc_test vtab_err-2 -tclprep {
-- register_echo_module [sqlite3_connection_pointer db]
--} -sqlbody {
-- BEGIN;
-- CREATE TABLE r(a PRIMARY KEY, b, c);
-- CREATE VIRTUAL TABLE e USING echo(r);
-- INSERT INTO e VALUES(1, 2, 3);
-- INSERT INTO e VALUES('a', 'b', 'c');
-- UPDATE e SET c = 10;
-- DELETE FROM e WHERE a = 'a';
-- COMMIT;
-- BEGIN;
-- CREATE TABLE r2(a, b, c);
-- INSERT INTO r2 SELECT * FROM e;
-- INSERT INTO e SELECT a||'x', b, c FROM r2;
-- COMMIT;
--}
--
--sqlite_malloc_fail 0
- finish_test
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |