From: drh <> Date: Sat, 10 Aug 2024 10:05:22 +0000 (+0000) Subject: Enhancements to covering-index prediction. In particular, avoid the X-Git-Tag: version-3.47.0~239 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe4ed96006fe32ba7fcdb0fdc8bb34e7083a7ebe;p=thirdparty%2Fsqlite.git Enhancements to covering-index prediction. In particular, avoid the false-positive prediction described by [forum:/forumpost/e60e4c295d22f8ce|forum post e60e4c295d22f8ce]. Add early detection of over-prediction of covering-indexes so that sqlite3_prepare() will return an error rather than just generate bad bytecode. FossilOrigin-Name: f0b671183f44d0ae294956e7651a1653f47bd6219f9636872d15993f30f28dfb --- fe4ed96006fe32ba7fcdb0fdc8bb34e7083a7ebe diff --cc manifest index 6a5cc4cb81,9e972f428b..8f752559c5 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Add\san\sassert()\sto\sfix\sa\sharmless\scompiler\swarning\sin\sthe\srecovery\nextension. - D 2024-08-10T09:56:36.016 -C Import\sthe\ssecond\sALTER\sTABLE\sfix\sfrom\strunk. -D 2024-08-09T18:53:02.857 ++C Enhancements\sto\scovering-index\sprediction.\s\sIn\sparticular,\savoid\sthe\nfalse-positive\sprediction\sdescribed\sby\n[forum:/forumpost/e60e4c295d22f8ce|forum\spost\se60e4c295d22f8ce].\nAdd\searly\sdetection\sof\sover-prediction\sof\scovering-indexes\sso\sthat\nsqlite3_prepare()\swill\sreturn\san\serror\srather\sthan\sjust\sgenerate\sbad\nbytecode. ++D 2024-08-10T10:05:22.244 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@@ -2204,8 -2204,8 +2204,9 @@@ F vsixtest/vsixtest.tcl 6195aba1f12a5e1 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 - P 69eed19914ef52bc0101f4ae1c7b242df4ee28675b3581e1f4d60a35494f9f76 - R 1a957c9b84a4c71fe646dcbf28d160e3 -P 81dfb8cd5d59ecf974018b03175ddabd11366d2aca0211dc982f7e14ff314d4d b416756320dfb46ad72b843a7fbf18807d3fd1966251c320de626280b5238a5c -R a3984f1bb6f081096bb3871ebe43a6fd ++P 2502339339f3c831966479a400c2b1a531fb4d990b1776b4dc4870cf734c3fcd 1de3e5883613ff6093203720f3cdcf6b3a3e626c99735284fae95a438e1ce24f ++R aaaa5a801913afe54fe71ced56170454 ++T +closed 1de3e5883613ff6093203720f3cdcf6b3a3e626c99735284fae95a438e1ce24f U drh - Z fb95dff972d2b07ca88b4d892cd693f5 -Z 4b72616d18b38c73609a43a2c780b02c ++Z ad30efef8eafa3ff536c4ae2785bb388 # Remove this line to create a well-formed Fossil manifest. diff --cc manifest.uuid index 9adeda1d93,21dade1b68..e7d37495c7 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 2502339339f3c831966479a400c2b1a531fb4d990b1776b4dc4870cf734c3fcd -1de3e5883613ff6093203720f3cdcf6b3a3e626c99735284fae95a438e1ce24f ++f0b671183f44d0ae294956e7651a1653f47bd6219f9636872d15993f30f28dfb