From: drh <> Date: Thu, 4 Apr 2024 14:26:42 +0000 (+0000) Subject: Add the "interstage-heuristic" that attempts to avoid wildly inefficient X-Git-Tag: version-3.46.0~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f895173c5f38202677f323462a7f840825244fdf;p=thirdparty%2Fsqlite.git Add the "interstage-heuristic" that attempts to avoid wildly inefficient queries that use table scans instead of index lookups because the output row estimates are inaccurate. FossilOrigin-Name: 7bf49e2c54c9f6f336416f01c0e76aaf70f1e2f3fd612232e5a33ae5dabe0900 --- f895173c5f38202677f323462a7f840825244fdf diff --cc manifest index 9947cad665,790c61ed9b..e296c36245 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Fix\san\sASAN\sproblem\sin\spart\sof\sthe\stest\sharness.\s\sNo\schanges\sto\sSQLite\sitself. - D 2024-04-04T13:36:48.714 -C Fix\stypos\sin\scomments.\s\sProvided\s".wheretrace"\sdebugging\soutput\sfor\sthe\ninterstage\sheuristic\smodule.\s\sDo\somit\sautomatic\sindex\sloops\sin\sthe\ninterstage\sheuristic. -D 2024-04-02T14:12:29.323 ++C Add\sthe\s"interstage-heuristic"\sthat\sattempts\sto\savoid\swildly\sinefficient\nqueries\sthat\suse\stable\sscans\sinstead\sof\sindex\slookups\sbecause\sthe\soutput\nrow\sestimates\sare\sinaccurate. ++D 2024-04-04T14:26:42.961 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@@ -2183,8 -2184,8 +2184,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 c49ec239eddde6f07f8d528cccd6224c4c80b240dc8f5c974186e3bb08afb83b - R 7af8cb79e580778082df3d4aa754bb75 -P 8018417b0143ea11535f2457bf3e4b3755717c554a17df1076425b4251b5f2c6 -R 9b55b3987ec7e07bd641f4ba8c80fe98 ++P 797cda7ddcceb140330d58892c3e73d28df72b638df00fd48f07dfcba7706c5f 186dcae19e249db36de15f295999cff25063b54ee3d5d481cd2ba99b6d13148e ++R 869b12f296c2e2b0f215f1adb6cf5942 ++T +closed 186dcae19e249db36de15f295999cff25063b54ee3d5d481cd2ba99b6d13148e U drh - Z e0623a1804a9fd12482c3193ee60e8ba -Z 1d7be0abb1ed0f4f893f7da5731cd389 ++Z 93e4543ac83acbe7df90dc3896cd40af # Remove this line to create a well-formed Fossil manifest. diff --cc manifest.uuid index 12ab17b4c2,5063c5ac66..e59021c9b1 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 797cda7ddcceb140330d58892c3e73d28df72b638df00fd48f07dfcba7706c5f -186dcae19e249db36de15f295999cff25063b54ee3d5d481cd2ba99b6d13148e ++7bf49e2c54c9f6f336416f01c0e76aaf70f1e2f3fd612232e5a33ae5dabe0900