Add a test case that demonstrates ticket [71e333e7d2e642].
FossilOrigin-Name: cc6e0785df3c2342376351e19ba7dba7b8d2f6a3
This commit is contained in:
parent
48dd9deffe
commit
74358f0c77
17
manifest
17
manifest
@ -1,5 +1,5 @@
|
|||||||
C For\sthe\ssqlite3-all.c\starget,\suse\sbackslashes\swhen\scalling\sthe\ssplitter\sscript\svia\sthe\sMSVC\smakefile.
|
C Add\sa\stest\scase\sthat\sdemonstrates\sticket\s[71e333e7d2e642].
|
||||||
D 2012-12-06T04:33:13.120
|
D 2012-12-06T15:15:15.819
|
||||||
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
|
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
|
||||||
F Makefile.in 690d441a758cbffd13e814dc2724a721a6ebd400
|
F Makefile.in 690d441a758cbffd13e814dc2724a721a6ebd400
|
||||||
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
|
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
|
||||||
@ -705,7 +705,7 @@ F test/shared4.test 72d90821e8d2fc918a08f16d32880868d8ee8e9d
|
|||||||
F test/shared6.test 866bb4982c45ce216c61ded5e8fde4e7e2f3ffa9
|
F test/shared6.test 866bb4982c45ce216c61ded5e8fde4e7e2f3ffa9
|
||||||
F test/shared7.test 960760bc8d03e1419e70dea69cf41db62853616e
|
F test/shared7.test 960760bc8d03e1419e70dea69cf41db62853616e
|
||||||
F test/shared8.test b27befbefbe7f4517f1d6b7ff8f64a41ec74165d
|
F test/shared8.test b27befbefbe7f4517f1d6b7ff8f64a41ec74165d
|
||||||
F test/shared9.test 614a3ca431adc73c857632deb4eff75bcaee40ec
|
F test/shared9.test 5f2a8f79b4d6c7d107a01ffa1ed05ae7e6333e21
|
||||||
F test/shared_err.test 0079c05c97d88cfa03989b7c20a8b266983087aa
|
F test/shared_err.test 0079c05c97d88cfa03989b7c20a8b266983087aa
|
||||||
F test/sharedlock.test ffa0a3c4ac192145b310f1254f8afca4d553eabf
|
F test/sharedlock.test ffa0a3c4ac192145b310f1254f8afca4d553eabf
|
||||||
F test/shell1.test b7896eb84028f3bc8300caf1fc796a73728aad0b
|
F test/shell1.test b7896eb84028f3bc8300caf1fc796a73728aad0b
|
||||||
@ -1025,7 +1025,10 @@ F tool/vdbe-compress.tcl f12c884766bd14277f4fcedcae07078011717381
|
|||||||
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
|
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
|
||||||
F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
|
F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
|
||||||
F tool/win/sqlite.vsix 97894c2790eda7b5bce3cc79cb2a8ec2fde9b3ac
|
F tool/win/sqlite.vsix 97894c2790eda7b5bce3cc79cb2a8ec2fde9b3ac
|
||||||
P 9793a21c13a1188383b4be64df86629f196ca330
|
P d507648d820cfea70e17f3d21c35c932a2d20367
|
||||||
R b1ae0671b34d9888ba979c90eefe9883
|
R c8862607377e39d862ea6493db661aac
|
||||||
U mistachkin
|
T *branch * ticket-71e333e7
|
||||||
Z 488057b91d078ba82beb69ea442d1563
|
T *sym-ticket-71e333e7 *
|
||||||
|
T -sym-trunk *
|
||||||
|
U drh
|
||||||
|
Z b40bafefd4b37344c158547788b014ab
|
||||||
|
@ -1 +1 @@
|
|||||||
d507648d820cfea70e17f3d21c35c932a2d20367
|
cc6e0785df3c2342376351e19ba7dba7b8d2f6a3
|
@ -136,6 +136,30 @@ do_test 2.4 {
|
|||||||
set ::invoked_mycollate_db1
|
set ::invoked_mycollate_db1
|
||||||
} {0}
|
} {0}
|
||||||
|
|
||||||
|
forcedelete test.db test.db2
|
||||||
|
sqlite3 db1 test.db
|
||||||
|
sqlite3 db2 test.db
|
||||||
|
db1 collate mycollate mycollate_db1
|
||||||
|
db2 collate mycollate mycollate_db2
|
||||||
|
|
||||||
|
do_test 2.13 {
|
||||||
|
set ::invoked_mycollate_db1 0
|
||||||
|
db1 eval {
|
||||||
|
CREATE TABLE t1(a, CHECK (a COLLATE mycollate IN ('one', 'two', 'three')));
|
||||||
|
INSERT INTO t1 VALUES('one');
|
||||||
|
}
|
||||||
|
db1 close
|
||||||
|
set ::invoked_mycollate_db1
|
||||||
|
} {1}
|
||||||
|
do_test 2.14 {
|
||||||
|
set ::invoked_mycollate_db1 0
|
||||||
|
db2 eval {
|
||||||
|
INSERT INTO t1 VALUES('two');
|
||||||
|
}
|
||||||
|
db2 close
|
||||||
|
set ::invoked_mycollate_db1
|
||||||
|
} {0}
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
# This test verifies that a bug causing a busy-handler belonging to one
|
# This test verifies that a bug causing a busy-handler belonging to one
|
||||||
# shared-cache connection to be executed as a result of an sqlite3_step()
|
# shared-cache connection to be executed as a result of an sqlite3_step()
|
||||||
@ -204,4 +228,3 @@ db2 close
|
|||||||
|
|
||||||
sqlite3_enable_shared_cache $::enable_shared_cache
|
sqlite3_enable_shared_cache $::enable_shared_cache
|
||||||
finish_test
|
finish_test
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user