From: drh Date: Mon, 30 Jun 2014 18:57:53 +0000 (+0000) Subject: Fix for ticket [b2fa5424e6fcb15]: Better define the format of the sqlite_stat4 X-Git-Tag: version-3.8.6~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c7de8267a8e2659ee02c47cb3f5c51cc7a8e4011;p=thirdparty%2Fsqlite.git Fix for ticket [b2fa5424e6fcb15]: Better define the format of the sqlite_stat4 file for WITHOUT ROWID tables and make sure the ANALYZE command generates a file in the appropriate format. Use the sqlite_stat4 data to enable the use of WHERE terms that cover all indexed columns plus some prefix of columns in the primary key. FossilOrigin-Name: bc2de8095fa9c385db0adf22ca55b0298a33c284 --- c7de8267a8e2659ee02c47cb3f5c51cc7a8e4011 diff --cc manifest index 5cda3a858e,73bea2a8c4..08281d9467 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Add\smakefile\stargets\sfor\svarious\sdiagnostic\stools,\ssuch\sas\sshowstat4.\nFix\sharmless\scompiler\swarnings\sin\sdiagnostic\stools. - D 2014-06-30T11:14:26.241 -C Fix\sa\sproblem\sin\swhere.c\swith\susing\sthe\sstat4\ssample\sdata\sof\san\sindex\son\sa\sWITHOUT\sROWID\stable. -D 2014-06-30T18:02:20.849 ++C Fix\sfor\sticket\s[b2fa5424e6fcb15]:\sBetter\sdefine\sthe\sformat\sof\sthe\ssqlite_stat4\nfile\sfor\sWITHOUT\sROWID\stables\sand\smake\ssure\sthe\sANALYZE\scommand\sgenerates\sa\nfile\sin\sthe\sappropriate\sformat.\s\sUse\sthe\ssqlite_stat4\sdata\sto\senable\sthe\suse\nof\sWHERE\sterms\sthat\scover\sall\sindexed\scolumns\splus\ssome\sprefix\sof\scolumns\nin\sthe\sprimary\skey. ++D 2014-06-30T18:57:53.330 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 1732320ecac3fee229d560d7ef2afa34681d1815 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@@ -1181,7 -1181,7 +1181,8 @@@ F tool/vdbe_profile.tcl 67746953071a9f8 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f - P fb32e374b75b160e7b535e732ced6c34dbb513eb - R 46fc4bdeeae8d59d2e02be8ec2b2e5ac -P 5d8628fdffbcf837313958f0ee1ed8a2043d384e ++P 6f86d89b8800c50035da7809bff941d08a33a6a2 053a210e3169732c58f84cb54c9b6f6df3a8f4ea + R 48fee5f306f007e5e5bc0779449b568d -U dan -Z 6e1427ceae354dbee93842f8dd267647 ++T +closed 053a210e3169732c58f84cb54c9b6f6df3a8f4ea +U drh - Z cf9f7f35abbae67619fbb464751389eb ++Z b0031b3eff85f5d5ff26a8a2fea67c94 diff --cc manifest.uuid index 2b01869e56,e4cd819c16..acf097220d --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 6f86d89b8800c50035da7809bff941d08a33a6a2 -053a210e3169732c58f84cb54c9b6f6df3a8f4ea ++bc2de8095fa9c385db0adf22ca55b0298a33c284