From: drh Date: Wed, 13 Mar 2013 00:13:25 +0000 (+0000) Subject: Fix the ORDER BY with IN constraint logic so that it works with all X-Git-Tag: version-3.7.16~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b19cad6b94d0c90624d30d418de84620e55ef999;p=thirdparty%2Fsqlite.git Fix the ORDER BY with IN constraint logic so that it works with all combinations of DESC on the ORDER BY clause, on the RHS of the IN operator, and in the index used by ORDER BY and IN. Fix for ticket [4dd95f6943fbd18]. FossilOrigin-Name: 839aa91faf1db7025d90fa3c65e50efb829b053b --- b19cad6b94d0c90624d30d418de84620e55ef999 diff --cc manifest index c0d2e88fbf,18f233c95a..b60645888e --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Fix\stypo\sin\ssqlite3_close()\sfunction\sdocumentation\sreported\son\sthe\smailing\slist. - D 2013-03-12T23:03:42.781 -C Add\sa\ssingle\snew\stest\scase\sto\sthe\sORDER\sBY\swith\sIN\slogic\sverify\sthat\sif\sthe\nRHS\sof\sthe\sIN\sis\sa\sdescending\sindex\sthat\sit\sstill\sworks.\s\sAdd\stestcase()\nmacros\sto\sthe\sORDER\sBY\swith\sIN\slogic\sto\shelp\sverify\sthat\scorner\scases\sare\ntested. -D 2013-03-12T23:58:42.037 ++C Fix\sthe\sORDER\sBY\swith\sIN\sconstraint\slogic\sso\sthat\sit\sworks\swith\sall\ncombinations\sof\sDESC\son\sthe\sORDER\sBY\sclause,\son\sthe\sRHS\sof\sthe\sIN\soperator,\nand\sin\sthe\sindex\sused\sby\sORDER\sBY\sand\sIN.\s\s\nFix\sfor\sticket\s[4dd95f6943fbd18]. ++D 2013-03-13T00:13:25.181 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 9a804abbd3cae82d196e4d33aba13239e32522a5 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@@ -176,10 -176,10 +176,10 @@@ F src/resolve.c 9079da7d59aed2bb14ec831 F src/rowset.c 64655f1a627c9c212d9ab497899e7424a34222e0 F src/select.c e1c6f6abdf9f359f4e735cb8ae11d2f359bf52a9 F src/shell.c 7c41bfcd9e5bf9d96b9215f79b03a5b2b44a3bca -F src/sqlite.h.in 31045976254225e6bf046a96e87b40fa4c1d55e4 +F src/sqlite.h.in f2fa32f440dda59ca47e22889966b2a6eb3b491c F src/sqlite3.rc fea433eb0a59f4c9393c8e6d76a6e2596b1fe0c0 F src/sqlite3ext.h 7183ab832e23db0f934494f16928da127a571d75 - F src/sqliteInt.h 59477c6ddb25e7ed8d8b67f4c58ded254371182e + F src/sqliteInt.h 0f8f05ee4db4ba9120b38f7a3992b325698f6e8a F src/sqliteLimit.h 164b0e6749d31e0daa1a4589a169d31c0dec7b3d F src/status.c bedc37ec1a6bb9399944024d63f4c769971955a9 F src/table.c 2cd62736f845d82200acfa1287e33feb3c15d62e @@@ -1037,7 -1038,7 +1038,7 @@@ F tool/vdbe-compress.tcl f12c884766bd14 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381 F tool/win/sqlite.vsix 97894c2790eda7b5bce3cc79cb2a8ec2fde9b3ac - P f9027cb47bdec8dcebf1f038921b28d9e9928c18 7232093d6c6871a9f4ea155ab215e3b39c1c322d - R 2b8e011f63f1ea6b304ed54d625b070b - U mistachkin - Z 320a77c87d730beccb243f9b6f174c49 -P 38c6bddf8cf15fb358858da6da457046f40b61ce -R 2dfce1e78b3d8600ba8f21b6bcbf51de ++P c9a75d890f06cf3806d7b8879824a11d3a8e7016 7e7356f1552cd53ea363d1ded3b2c221c9d0be01 ++R cf70d6af777786d8b14ff574243c0031 + U drh -Z 8bb717049072de8821087ba5a31c44c6 ++Z ef3fb703f5f65c616953904db1b81e9f diff --cc manifest.uuid index fe6c431274,1339ff1366..31a34e8a08 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - c9a75d890f06cf3806d7b8879824a11d3a8e7016 -7e7356f1552cd53ea363d1ded3b2c221c9d0be01 ++839aa91faf1db7025d90fa3c65e50efb829b053b