From: drh Date: Sun, 26 Jun 2011 23:44:35 +0000 (+0000) Subject: Modifications to the "like.test" script in order to expose the problem X-Git-Tag: version-3.7.8~38^2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c7060c4dc5cf0c9bae1202513ae7a181c7646a60;p=thirdparty%2Fsqlite.git Modifications to the "like.test" script in order to expose the problem reported by ticket [25ee81271091ec27a8c5]. FossilOrigin-Name: c4db5b640638a211b096454ba90b58faf595392b --- diff --git a/manifest b/manifest index 495f9da122..552a042538 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Support\susing\snmake\svia\scmd.exe,\sallow\sTcl\srelated\svariables\sto\sbe\soverridden\svia\sthe\senvironment,\sand\sadd\s'dll'\sto\sthe\s'all'\starget. -D 2011-06-25T01:14:36.767 +C Modifications\sto\sthe\s"like.test"\sscript\sin\sorder\sto\sexpose\sthe\sproblem\nreported\sby\sticket\s[25ee81271091ec27a8c5]. +D 2011-06-26T23:44:35.143 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in c1d7a7f4fd8da6b1815032efca950e3d5125407e F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -540,7 +540,7 @@ F test/jrnlmode3.test c6522b276ba315fd1416198de6fc1da9e72409fb F test/keyword1.test a2400977a2e4fde43bf33754c2929fda34dbca05 F test/lastinsert.test 474d519c68cb79d07ecae56a763aa7f322c72f51 F test/laststmtchanges.test ae613f53819206b3222771828d024154d51db200 -F test/like.test a47f52692aac96ba82508efba74819214cdebc17 +F test/like.test 9cc5261d22f2108a27cedff8a972aa3284a4ba52 F test/like2.test 3b2ee13149ba4a8a60b59756f4e5d345573852da F test/limit.test 2db7b3b34fb925b8e847d583d2eb67531d0ce67e F test/loadext.test 0393ce12d9616aa87597dd0ec88181de181f6db0 @@ -949,7 +949,7 @@ F tool/symbols.sh bc2a3709940d47c8ac8e0a1fdf17ec801f015a00 F tool/tostr.awk 11760e1b94a5d3dcd42378f3cc18544c06cfa576 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f F tool/warnings.sh 2ebae31e1eb352696f3c2f7706a34c084b28c262 -P 90cfeaf7b68eebc2cd75bc60b1bb86823646fe30 -R 9d6679872042f0704eb46a854652b6b2 -U mistachkin -Z 10a97d70fb2ecf74c56670a3fe99eddd +P 0cb0f30603b1658ae24d1b74d6ab59d05ef4e448 +R b4c0c5b0c346256e14626d78568a95ff +U drh +Z 547c3ad3eebb979ac90e817759786a1e diff --git a/manifest.uuid b/manifest.uuid index 1bf5d940d2..76ea188c40 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -0cb0f30603b1658ae24d1b74d6ab59d05ef4e448 \ No newline at end of file +c4db5b640638a211b096454ba90b58faf595392b \ No newline at end of file diff --git a/test/like.test b/test/like.test index bd9a6c39c1..45d5a97c5b 100644 --- a/test/like.test +++ b/test/like.test @@ -70,12 +70,15 @@ do_test like-1.4 { } } {ABC abc} do_test like-1.5.1 { + # Use sqlite3_exec() to verify fix for ticket [25ee81271091] 2011-06-26 + sqlite3_exec db {PRAGMA case_sensitive_like=on} +} {0 {}} +do_test like-1.5.2 { execsql { - PRAGMA case_sensitive_like=on; SELECT x FROM t1 WHERE x LIKE 'abc' ORDER BY 1; } } {abc} -do_test like-1.5.2 { +do_test like-1.5.3 { execsql { PRAGMA case_sensitive_like; -- no argument; does not change setting SELECT x FROM t1 WHERE x LIKE 'abc' ORDER BY 1;