Fix a problem in the analyze3.test script.

FossilOrigin-Name: 61174aea74db59f6792e275aa366b7f0e1f2270b
This commit is contained in:
dan 2009-10-16 15:59:35 +00:00
parent 85a48dfd71
commit d893ed8eea
3 changed files with 27 additions and 27 deletions

View File

@ -1,5 +1,5 @@
C Remove\sa\smutex\sreference\sleak\sfrom\ssqlite3_reoptimize().
D 2009-10-16T15:19:08
C Fix\sa\sproblem\sin\sthe\sanalyze3.test\sscript.
D 2009-10-16T15:59:35
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in 4ca3f1dd6efa2075bcb27f4dc43eef749877740d
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@ -226,7 +226,7 @@ F test/alter4.test 9386ffd1e9c7245f43eca412b2058d747509cc1f
F test/altermalloc.test e81ac9657ed25c6c5bb09bebfa5a047cd8e4acfc
F test/analyze.test ad5329098fe4de4a96852231d53e3e9e6283ad4b
F test/analyze2.test a2ad7b0a4e13801ee3968fe70f22aff52326569c
F test/analyze3.test 030efdbb019e0246b43ff0040559ab8da2cd1d35
F test/analyze3.test 2f00779be9c1637dd72793de755a17722995d836
F test/async.test 8c75d31b8330f8b70cf2571b014d4476a063efdb
F test/async2.test bf5e2ca2c96763b4cba3d016249ad7259a5603b6
F test/async3.test 93edaa9122f498e56ea98c36c72abc407f4fb11e
@ -758,7 +758,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
P 9bd6f3d8864d422fe42074688b191915b27ad8ea
R 723564f2f75d771b2a25fc5af0a983d9
P 9f0937066184421f23453ceb451fd726c75cb593
R 86e25f1b6a52bb9c63882796d734f555
U dan
Z 39d2326c736939285f79811bc830d90e
Z fec49abff05b5e5ceea062664695ce9e

View File

@ -1 +1 @@
9f0937066184421f23453ceb451fd726c75cb593
61174aea74db59f6792e275aa366b7f0e1f2270b

View File

@ -317,7 +317,7 @@ do_test analyze3-3.2.1 {
test_reoptimize $S
} {0}
do_test analyze3-3.2.2 {
sqlite3_bind_text $S 1 "abc" -1
sqlite3_bind_text $S 1 "abc" 3
test_reoptimize $S
} {1}
do_test analyze3-3.2.3 {
@ -332,7 +332,7 @@ do_test analyze3-3.2.1 {
test_reoptimize $S
} {0}
do_test analyze3-3.2.2 {
sqlite3_bind_text $S 1 "abc" -1
sqlite3_bind_text $S 1 "abc" 3
test_reoptimize $S
} {0}
do_test analyze3-3.2.3 {
@ -370,15 +370,15 @@ do_test analyze3-3.4.1 {
test_reoptimize $S
} {0}
do_test analyze3-3.4.2 {
sqlite3_bind_text $S 1 "abc" -1
sqlite3_bind_text $S 1 "abc" 3
test_reoptimize $S
} {0}
do_test analyze3-3.4.3 {
sqlite3_bind_text $S 2 "def" -1
sqlite3_bind_text $S 2 "def" 3
test_reoptimize $S
} {1}
do_test analyze3-3.4.4 {
sqlite3_bind_text $S 2 "ghi" -1
sqlite3_bind_text $S 2 "ghi" 3
test_reoptimize $S
} {1}
do_test analyze3-3.4.5 {
@ -399,11 +399,11 @@ do_test analyze3-3.5.1 {
test_reoptimize $S
} {0}
do_test analyze3-3.5.2 {
sqlite3_bind_text $S 31 "abc" -1
sqlite3_bind_text $S 31 "abc" 3
test_reoptimize $S
} {0}
do_test analyze3-3.5.3 {
sqlite3_bind_text $S 32 "def" -1
sqlite3_bind_text $S 32 "def" 3
test_reoptimize $S
} {1}
do_test analyze3-3.5.4 {
@ -424,11 +424,11 @@ do_test analyze3-3.6.1 {
test_reoptimize $S
} {0}
do_test analyze3-3.6.2 {
sqlite3_bind_text $S 32 "abc" -1
sqlite3_bind_text $S 32 "abc" 3
test_reoptimize $S
} {1}
do_test analyze3-3.6.3 {
sqlite3_bind_text $S 33 "def" -1
sqlite3_bind_text $S 33 "def" 3
test_reoptimize $S
} {1}
do_test analyze3-3.6.4 {
@ -450,15 +450,15 @@ breakpoint
test_reoptimize $S
} {0}
do_test analyze3-3.7.2 {
sqlite3_bind_text $S 32 "abc" -1
sqlite3_bind_text $S 32 "abc" 3
test_reoptimize $S
} {0}
do_test analyze3-3.7.3 {
sqlite3_bind_text $S 33 "def" -1
sqlite3_bind_text $S 33 "def" 3
test_reoptimize $S
} {0}
do_test analyze3-3.7.4 {
sqlite3_bind_text $S 10 "def" -1
sqlite3_bind_text $S 10 "def" 3
test_reoptimize $S
} {1}
do_test analyze3-3.7.5 {
@ -481,11 +481,11 @@ do_test analyze3-3.8.2 {
test_reoptimize $S
} {0}
do_test analyze3-3.8.3 {
sqlite3_bind_text $S 1 "abc" -1
sqlite3_bind_text $S 1 "abc" 3
test_reoptimize $S
} {0}
do_test analyze3-3.8.4 {
sqlite3_bind_text $S 2 "def" -1
sqlite3_bind_text $S 2 "def" 3
test_reoptimize $S
} {1}
do_test analyze3-3.8.5 {
@ -495,28 +495,28 @@ do_test analyze3-3.8.6 {
sqlite3_expired $S
} {0}
do_test analyze3-3.8.7 {
sqlite3_bind_text $S 2 "ghi%" -1
sqlite3_bind_text $S 2 "ghi%" 4
sqlite3_expired $S
} {0}
do_test analyze3-3.8.8 {
test_reoptimize $S
} {1}
do_test analyze3-3.8.9 {
sqlite3_bind_text $S 2 "ghi%def" -1
sqlite3_bind_text $S 2 "ghi%def" 7
sqlite3_expired $S
} {1}
do_test analyze3-3.8.10 {
test_reoptimize $S
} {1}
do_test analyze3-3.8.11 {
sqlite3_bind_text $S 2 "%ab" -1
sqlite3_bind_text $S 2 "%ab" 3
sqlite3_expired $S
} {1}
do_test analyze3-3.8.12 {
test_reoptimize $S
} {1}
do_test analyze3-3.8.12 {
sqlite3_bind_text $S 2 "%de" -1
sqlite3_bind_text $S 2 "%de" 3
sqlite3_expired $S
} {0}
do_test analyze3-3.8.13 {
@ -538,7 +538,7 @@ do_test analyze3-4.1.1 {
sqlite3_reoptimize $S
} {SQLITE_OK}
do_test analyze3-4.1.2 {
sqlite3_bind_text $S 2 "abc" -1
sqlite3_bind_text $S 2 "abc" 3
execsql { DROP TABLE t1 }
sqlite3_reoptimize $S
} {SQLITE_SCHEMA}
@ -571,7 +571,7 @@ proc auth {args} {
return SQLITE_OK
}
do_test analyze3-4.2.2 {
sqlite3_bind_text $S 2 "abc" -1
sqlite3_bind_text $S 2 "abc" 3
sqlite3_reoptimize $S
} {SQLITE_SCHEMA}
do_test analyze3-4.2.3 {