Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix bugs in test scripts so that fulltest will pass. (CVS 3390) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
367bd8376f323beb3148eab86ada1a3c |
User & Date: | drh 2006-09-02 22:14:59.000 |
Context
2006-09-04
| ||
15:53 | Make sure strings returned by sqlite3_value_text() and sqlite3_value_text16() are always '\000'-terminated. (CVS 3391) (check-in: 2c63588b45 user: drh tags: trunk) | |
2006-09-02
| ||
22:14 | Fix bugs in test scripts so that fulltest will pass. (CVS 3390) (check-in: 367bd8376f user: drh tags: trunk) | |
22:14 | Changes to the Makefile.in so that MinGW users can build a DLL. Ticket #1955. (CVS 3389) (check-in: 7279ddd084 user: drh tags: trunk) | |
Changes
Changes to main.mk.
︙ | ︙ | |||
590 591 592 593 594 595 596 | clean: rm -f *.o sqlite3 libsqlite3.a sqlite3.h opcodes.* rm -f lemon lempar.c parse.* sqlite*.tar.gz mkkeywordhash keywordhash.h rm -f $(PUBLISH) rm -f *.da *.bb *.bbg gmon.out rm -rf tsrc | > | 590 591 592 593 594 595 596 597 | clean: rm -f *.o sqlite3 libsqlite3.a sqlite3.h opcodes.* rm -f lemon lempar.c parse.* sqlite*.tar.gz mkkeywordhash keywordhash.h rm -f $(PUBLISH) rm -f *.da *.bb *.bbg gmon.out rm -rf tsrc rm -f testloadext.dll libtestloadext.so |
Changes to test/vtab1.test.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 2006 June 10 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is creating and dropping virtual tables. # | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # 2006 June 10 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is creating and dropping virtual tables. # # $Id: vtab1.test,v 1.37 2006/09/02 22:14:59 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl ifcapable !vtab||!schema_pragmas { finish_test return |
︙ | ︙ | |||
831 832 833 834 835 836 837 838 839 840 841 842 843 844 | xBestIndex {SELECT rowid, * FROM 'r'} \ xFilter {SELECT rowid, * FROM 'r'} \ ] # Testing the xFindFunction interface # do_test vtab1.11-1 { execsql { INSERT INTO r(a,b,c) VALUES(1,'?',99); INSERT INTO r(a,b,c) VALUES(2,3,99); SELECT a GLOB b FROM e } } {1 0} | > | 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 | xBestIndex {SELECT rowid, * FROM 'r'} \ xFilter {SELECT rowid, * FROM 'r'} \ ] # Testing the xFindFunction interface # catch {rename ::echo_glob_overload {}} do_test vtab1.11-1 { execsql { INSERT INTO r(a,b,c) VALUES(1,'?',99); INSERT INTO r(a,b,c) VALUES(2,3,99); SELECT a GLOB b FROM e } } {1 0} |
︙ | ︙ |
Changes to test/vtab4.test.
︙ | ︙ | |||
12 13 14 15 16 17 18 | # focus is on testing the following virtual table methods: # # xBegin # xSync # xCommit # xRollback # | | > > > | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # focus is on testing the following virtual table methods: # # xBegin # xSync # xCommit # xRollback # # $Id: vtab4.test,v 1.2 2006/09/02 22:14:59 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl unset -nocomplain echo_module unset -nocomplain echo_module_sync_fail ifcapable !vtab { finish_test return } # Register the echo module db cache size 0 |
︙ | ︙ | |||
185 186 187 188 189 190 191 | xSync echo(treal) \ xSync echo(sreal) \ xRollback echo(treal) \ xRollback echo(sreal) \ ] finish_test | < | 188 189 190 191 192 193 194 | xSync echo(treal) \ xSync echo(sreal) \ xRollback echo(treal) \ xRollback echo(sreal) \ ] finish_test |