]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
If all branches of an OR optimize scan that is the rhs of a LEFT JOIN use the
authordan <dan@noemail.net>
Wed, 26 Oct 2016 16:05:10 +0000 (16:05 +0000)
committerdan <dan@noemail.net>
Wed, 26 Oct 2016 16:05:10 +0000 (16:05 +0000)
same index, set the index cursor to return NULL values if there are no matches
for a row on the lhs.

FossilOrigin-Name: ec9dab8054c71d112c68f58a45821b38c2a45677

1  2 
manifest
manifest.uuid

diff --cc manifest
index 08e0334a9c9acf8542068cafe69baeedf7ac90b1,64c4d72a0f36efdcab733a9ea5f1969f528d479e..1d41c53d8526e147b6f865f8a7439fb37e29f17d
+++ 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 7a8e3f00f48f4363dc390b42ca03a7d03226f77e,e0be9f7b69417e90114ab4e7ccb6f81c478d73b5..58c86f842e1454c2ff66f4982065d92beca5f50f
@@@ -1,1 -1,1 +1,1 @@@
- 86675ae0abc78960a2faec55d115804acfc3be6d
 -e7b9bc678ecb75c594d9d3ade12a99a8d551cdc9
++ec9dab8054c71d112c68f58a45821b38c2a45677