From: drh <> Date: Sat, 22 Jan 2022 22:28:32 +0000 (+0000) Subject: Add support for the sqlite3_vtab_distinct() interface. Virtual table X-Git-Tag: version-3.38.0~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bcba3655eebb87d6620fea13ebbfdf9d032a278d;p=thirdparty%2Fsqlite.git Add support for the sqlite3_vtab_distinct() interface. Virtual table implementations can use this API to determine more detail about the ordering requirements needed by the query plan and perhaps reduce the amount of work required to compute a correct answer. This is an optimization opportunity for the virtual table implementation. The correct answer should still be obtained (though perhaps more slowly) even if sqlite3_vtab_distinct() is ignored. FossilOrigin-Name: e4caf1e3932b1bd0dea072df7fc9458aed98c84ea397b6948b89292603949c41 --- bcba3655eebb87d6620fea13ebbfdf9d032a278d diff --cc manifest index 577199e3ba,882cfbc89f..c9f7856650 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Update\sevidence\smarks\sfor\sthe\slatest\schanges\sto\sthe\sdocumentation. - D 2022-01-21T19:26:18.123 -C Bring\ssqlite3_vtab_distinct()\sup\sto\sspec\sso\sthat\sit\sworks\sas\sdescribed\sin\sthe\ndocumentation. -D 2022-01-22T20:45:57.210 ++C Add\ssupport\sfor\sthe\ssqlite3_vtab_distinct()\sinterface.\s\sVirtual\stable\nimplementations\scan\suse\sthis\sAPI\sto\sdetermine\smore\sdetail\sabout\sthe\sordering\nrequirements\sneeded\sby\sthe\squery\splan\sand\sperhaps\sreduce\sthe\samount\sof\nwork\srequired\sto\scompute\sa\scorrect\sanswer.\s\sThis\sis\san\soptimization\nopportunity\sfor\sthe\svirtual\stable\simplementation.\s\sThe\scorrect\sanswer\sshould\nstill\sbe\sobtained\s(though\sperhaps\smore\sslowly)\seven\sif\ssqlite3_vtab_distinct()\nis\signored. ++D 2022-01-22T22:28:32.461 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@@ -1940,8 -1941,8 +1941,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 2f5dc7a9eed89baf6814e9e123354b262c806c853dee1243c93286c564b9aba8 - R fe7b9dd51502fbf713e5aec593679235 -P 7af03f02940b5380ee7375672ca8d0ff68c5f741d0ea206911631f3eb5a78555 ++P 19247e919fab9748cae561cb12c4c3c106064390a37e32e724d9a9066cfaff8e 4289edf3c5e32a05b51f232020099b33f6f5e79b0ceca2b96baf1186168d9af6 + R 8c92b45cd50ac9ababc3056da5861966 ++T +closed 4289edf3c5e32a05b51f232020099b33f6f5e79b0ceca2b96baf1186168d9af6 U drh - Z 6c89130f8a98285b65b9e81e57d8e5fd -Z 0f40ebbc8d49180e2de4a825f9a960d1 ++Z 550b4c112b6ad484a8ff339f5683365a # Remove this line to create a well-formed Fossil manifest. diff --cc manifest.uuid index 7a58964939,e96d220661..4cfc6dc89d --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 19247e919fab9748cae561cb12c4c3c106064390a37e32e724d9a9066cfaff8e -4289edf3c5e32a05b51f232020099b33f6f5e79b0ceca2b96baf1186168d9af6 ++e4caf1e3932b1bd0dea072df7fc9458aed98c84ea397b6948b89292603949c41