]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
The RIGHT JOIN logic added to version 3.39.0 added a new restriction on the
authordrh <>
Wed, 21 Sep 2022 09:54:41 +0000 (09:54 +0000)
committerdrh <>
Wed, 21 Sep 2022 09:54:41 +0000 (09:54 +0000)
query flattener which resulted in a performance regression for some queries,
as documented by [forum:/forumpost/96b9e5709cf47cda|forum post 96b9e5709cf47cda].
This change removes that restriction (thus restoring performance) and fixes the
problem that RIGHT JOIN was having in a different way.

FossilOrigin-Name: 501609eddf2a46d51e8cd56477a22d4df142a166e78fe4322c0db11d1eed6687

1  2 
manifest
manifest.uuid

diff --cc manifest
index 987d96a26b2e3f8c4ad71c1c2be2e4516076d626,40c1bb24e95f7766526231f2e434cf47ed6ce040..7db55b50f814cce730c2d38606b4832d26897e00
+++ b/manifest
@@@ -1,5 -1,5 +1,5 @@@
- C Update\sthe\sfuzz\sinvariant\schecker\sto\sconform\sto\sthe\slatest\schanges\sin\ndbsqlfuzz.
- D 2022-09-20T17:21:54.866
 -C Break\sout\sthe\sdecision\sof\swhether\sor\snot\sa\sconstraint\sterm\sis\susable\sby\nan\souter\sjoin\sinto\sa\ssubroutine:\sconstraintCompatibleWithOuterJoin().
 -D 2022-09-21T00:16:59.294
++C The\sRIGHT\sJOIN\slogic\sadded\sto\sversion\s3.39.0\sadded\sa\snew\srestriction\son\sthe\nquery\sflattener\swhich\sresulted\sin\sa\sperformance\sregression\sfor\ssome\squeries,\nas\sdocumented\sby\s[forum:/forumpost/96b9e5709cf47cda|forum\spost\s96b9e5709cf47cda].\nThis\schange\sremoves\sthat\srestriction\s(thus\srestoring\sperformance)\sand\sfixes\sthe\nproblem\sthat\sRIGHT\sJOIN\swas\shaving\sin\sa\sdifferent\sway.
++D 2022-09-21T09:54:41.195
  F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
  F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
  F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@@ -2000,8 -2000,8 +2000,9 @@@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a9
  F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
  F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
  F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
- P 2647d73bb1876d01851f52cb3fd6af08a962ab336b6d51c160d27b1baf94f75f
- R 4c12344a007c9e9bdcdbf323756fa10a
 -P f47aa745690c018800243bf76930b2499ff4537411c4e27b4b16ba3854cc2bf8
++P 8d8c124349d2a25200ace9a60d76751594b722468ad0c39d927a5d2c6e2464e0 c7fbc9b0453050e2746af27e3a11e0c3701bef8c56da8e19173242c6ea3aff8b
+ R ffb250842cc4325c51d9fb2f2a7cd199
++T +closed c7fbc9b0453050e2746af27e3a11e0c3701bef8c56da8e19173242c6ea3aff8b
  U drh
- Z 7b99665ad0fc78591cd70e35a24e34f9
 -Z 35e62397d6a559d77545ee94797c3cd6
++Z c4277c5174933f302dd59d96a8e6bf4e
  # Remove this line to create a well-formed Fossil manifest.
diff --cc manifest.uuid
index 7ec8709a6ff1ae44411a5c1670e2fba2d47da4ff,dc64e5b341f77c3dc9b093d320892c4276f11ebd..c74cd3d3de32d425d3acda22be0a4be0f860801f
@@@ -1,1 -1,1 +1,1 @@@
- 8d8c124349d2a25200ace9a60d76751594b722468ad0c39d927a5d2c6e2464e0
 -c7fbc9b0453050e2746af27e3a11e0c3701bef8c56da8e19173242c6ea3aff8b
++501609eddf2a46d51e8cd56477a22d4df142a166e78fe4322c0db11d1eed6687