On Wed, Aug 24, 2005 at 12:58:46PM -0400, D. Richard Hipp wrote:
> A bug introduced into the CVS tree on July 8 was causing
> malfunctions and segfaults when you attempt to DELETE or
> UPDATE more than 40960 rows in a single statement.  This
> bug has now been fixed and a test case has been added to
> the regression suite so that it will not go undetected
> again.  Version 3.2.5 will be forthcoming.
> 
> But I'm going to wait a few days for other bugs to emerge
> before I do the next release.  I would very much appreciate
> it if as many people as possible will try out version 3.2.4
> over the next few days and report any problems you run
> across.

I am trying to test this in my environment but it looks like the
build scripts were subtly broken as I can no longer run 'make test':

$ make test
./libtool --mode=link gcc -O0 -ggdb -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src 
-DNDEBUG -I/usr/local/include/tcl8.4 -DSQLITE_OMIT_CURSOR -DTCLSH=1 
-DSQLITE_TEST=1  -DTEMP_STORE=2 -o testfixture  ./src/btree.c  ./src/date.c  
./src/func.c  ./src/os_unix.c  ./src/os_win.c  ./src/pager.c  ./src/pragma.c  
./src/printf.c  ./src/test1.c  ./src/test2.c  ./src/test3.c  ./src/test4.c  
./src/test5.c  ./src/utf.c  ./src/util.c  ./src/vdbe.c  ./src/md5.c  
./src/where.c ./src/tclsqlite.c  -L/usr/local/lib -ltcl84   -lm
gcc -O0 -ggdb -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src -DNDEBUG 
-I/usr/local/include/tcl8.4 -DSQLITE_OMIT_CURSOR -DTCLSH=1 -DSQLITE_TEST=1 
-DTEMP_STORE=2 -o testfixture ./src/btree.c ./src/date.c ./src/func.c 
./src/os_unix.c ./src/os_win.c ./src/pager.c ./src/pragma.c ./src/printf.c 
./src/test1.c ./src/test2.c ./src/test3.c ./src/test4.c ./src/test5.c 
./src/utf.c ./src/util.c ./src/vdbe.c ./src/md5.c ./src/where.c 
./src/tclsqlite.c  -L/usr/local/lib -ltcl84 -lm
... lots of linker errors omitted
/tmp//cch10639.o(.text+0x3fda):src/tclsqlite.c:1836: undefined reference to 
`sqlite3_open'
/tmp//cch10639.o(.text+0x3fe9):src/tclsqlite.c:1837: undefined reference to 
`sqlite3_errcode'
/tmp//cch10639.o(.text+0x3ffc):src/tclsqlite.c:1838: undefined reference to 
`sqlite3_errmsg'
/tmp//cch10639.o(.text+0x401a):src/tclsqlite.c:1839: undefined reference to 
`sqlite3_close'
collect2: ld returned 1 exit status
*** Error code 1

'make test' with 3.2.2 properly links against the sqlite3 library:

./libtool --mode=link cc -O2 -pipe -Wall -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. 
-I./src -DNDEBUG -I/usr/local/include/tcl8.4 -DSQLITE_OMIT_CURSOR -DTCLSH=1 
-DSQLITE_TEST=1 -DTHREADSAFE=0 -DTEMP_STORE=2 -o testfixture ./src/btree.c  
./src/date.c  ./src/func.c  ./src/os_unix.c  ./src/os_win.c  ./src/pager.c  
./src/pragma.c  ./src/printf.c  ./src/test1.c  ./src/test2.c  ./src/test3.c  
./src/test4.c  ./src/test5.c  ./src/utf.c  ./src/util.c  ./src/vdbe.c  
./src/md5.c ./src/tclsqlite.c  libtclsqlite3.la -L/usr/local/lib -ltcl84   -lm
cc -O2 -pipe -Wall -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src -DNDEBUG 
-I/usr/local/include/tcl8.4 -DSQLITE_OMIT_CURSOR -DTCLSH=1 -DSQLITE_TEST=1 
-DTHREADSAFE=0 -DTEMP_STORE=2 -o .libs/testfixture ./src/btree.c ./src/date.c 
./src/func.c ./src/os_unix.c ./src/os_win.c ./src/pager.c ./src/pragma.c 
./src/printf.c ./src/test1.c ./src/test2.c ./src/test3.c ./src/test4.c 
./src/test5.c ./src/utf.c ./src/util.c ./src/vdbe.c ./src/md5.c 
./src/tclsqlite.c  -L./.libs -ltclsqlite3 -L/usr/local/lib -ltclstub84 -ltcl84 
-lm -Wl,-rpath,/usr/local/lib/sqlite

It'd be a lot easier to test with this fixed.

Reply via email to