From: drh Date: Sun, 21 Sep 2014 22:31:52 +0000 (+0000) Subject: Correctly handle an ORDER BY clause on an outer query when applying X-Git-Tag: version-3.8.7~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6656630b632fc89ec22860f4100474f5fa194588;p=thirdparty%2Fsqlite.git Correctly handle an ORDER BY clause on an outer query when applying the compound-subquery flattening optimization. Ticket [89398880bcfff]. Also add the SQLITE_ENABLE_SELECTTRACE option for additional debugging and analysis information about select statement processing. FossilOrigin-Name: d5880abd63c83c88e135257373afa0a3fd88297e --- 6656630b632fc89ec22860f4100474f5fa194588 diff --cc manifest index 34532191e9,b1705d3f7d..ddf26d66a1 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Fix\sthe\susage\sof\sthe\s_GNU_SOURCE\sand\s_BSD_SOURCE\smacros\sin\sthe\smain\ninternal\sheader\sfile,\ssqliteInt.h.\s\sSet\sHAVE_STRCHRNUL\sto\s1\sby\sdefault\son\nLinux\sonly. - D 2014-09-20T00:35:05.099 -C Add\stest\scases\sfor\sticket\s[89398880bcfff9]. -D 2014-09-21T20:31:26.194 ++C Correctly\shandle\san\sORDER\sBY\sclause\son\san\souter\squery\swhen\sapplying\nthe\scompound-subquery\sflattening\soptimization.\s\sTicket\s[89398880bcfff].\nAlso\sadd\sthe\sSQLITE_ENABLE_SELECTTRACE\soption\sfor\sadditional\sdebugging\nand\sanalysis\sinformation\sabout\sselect\sstatement\sprocessing. ++D 2014-09-21T22:31:52.593 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in cf57f673d77606ab0f2d9627ca52a9ba1464146a F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@@ -1198,8 -1199,7 +1199,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 544664cadfb4e504bc0b321c865d1ecb8a831e20 0fac2c045f47c7735af4eb68ced81d8b43622a1f - R 8acbfeff4e0806bab5948d89d293bcf4 - T +closed 0fac2c045f47c7735af4eb68ced81d8b43622a1f -P 28d52c1c38d849f099bc777f5987d1ef89680c2a ++P 59e2c9df02d7e988c5ad44c560ead1e5288b12e7 9683e001ed38b41979220eef0bdfcb54df5f3191 + R df45958fe8f93552efb788581c98f0f7 ++T +closed 9683e001ed38b41979220eef0bdfcb54df5f3191 U drh - Z 03e6ed8cf11426837aa81912fc8917d5 -Z e77b30925e1036bea887cc5097672af2 ++Z d861c46be738b6f104b52fa4441ce204 diff --cc manifest.uuid index 299d8934f2,f4ca445f31..7cf6d685c3 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 59e2c9df02d7e988c5ad44c560ead1e5288b12e7 -9683e001ed38b41979220eef0bdfcb54df5f3191 ++d5880abd63c83c88e135257373afa0a3fd88297e