From: dan Date: Wed, 26 Oct 2016 16:05:10 +0000 (+0000) Subject: If all branches of an OR optimize scan that is the rhs of a LEFT JOIN use the X-Git-Tag: version-3.16.0~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d15f430111a2e501fd85e47e2ef2d345333f1742;p=thirdparty%2Fsqlite.git If all branches of an OR optimize scan that is the rhs of a LEFT JOIN use the same index, set the index cursor to return NULL values if there are no matches for a row on the lhs. FossilOrigin-Name: ec9dab8054c71d112c68f58a45821b38c2a45677 --- d15f430111a2e501fd85e47e2ef2d345333f1742 diff --cc manifest index 08e0334a9c,64c4d72a0f..1d41c53d85 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Merge\sthe\sSQLITE_ENABLE_URI_00_ERROR\scompile-time\soption. - D 2016-10-26T13:58:47.701 + C If\sall\sbranches\sof\san\sOR\soptimize\sscan\sthat\sis\sthe\srhs\sof\sa\sLEFT\sJOIN\suse\sthe\nsame\sindex,\sset\sthe\sindex\scursor\sto\sreturn\sNULL\svalues\sif\sthere\sare\sno\smatches\nfor\sa\srow\son\sthe\slhs. -D 2016-10-26T15:46:09.768 ++D 2016-10-26T16:05:10.157 F Makefile.in 6fd48ffcf7c2deea7499062d1f3747f986c19678 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.msc 5151cc64c4c05f3455f4f692ad11410a810d937f @@@ -1528,8 -1528,10 +1528,7 @@@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a9 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 - P b115856408b6aa5538be67beb619d7aff0630bea 1aaa06e37f44309c62335d8eda59ca6890d4be9d - R 2575c94e1207131d6b2a9b2da34d054b - T +closed 1aaa06e37f44309c62335d8eda59ca6890d4be9d - U drh - Z e54eab78f5c7dec3e7cf474d4365bacf -P 86675ae0abc78960a2faec55d115804acfc3be6d ++P 86675ae0abc78960a2faec55d115804acfc3be6d e7b9bc678ecb75c594d9d3ade12a99a8d551cdc9 + R c240eb27502d404e84b4aff903524b82 -T *branch * leftjoin-or-fix -T *sym-leftjoin-or-fix * -T -sym-trunk * + U dan -Z e658c0fae6fabdecf9bbfe3c9f4a5ad1 ++Z 498360080b36f95cb7f4a5ed51292736 diff --cc manifest.uuid index 7a8e3f00f4,e0be9f7b69..58c86f842e --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 86675ae0abc78960a2faec55d115804acfc3be6d -e7b9bc678ecb75c594d9d3ade12a99a8d551cdc9 ++ec9dab8054c71d112c68f58a45821b38c2a45677