]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Do not run the subroutine that materializes a view or subquery until just
authordrh <>
Mon, 23 May 2022 10:57:20 +0000 (10:57 +0000)
committerdrh <>
Mon, 23 May 2022 10:57:20 +0000 (10:57 +0000)
before the materialization is actually needed, so that if the materialization
turns out to never been needed, unnecessary work can be avoided.

FossilOrigin-Name: d64ae49a1f2513171d678259928c67741d79b2ae595078299525641a676cc46b

1  2 
manifest
manifest.uuid

diff --cc manifest
index 6fcf3633957edc60254d2821509033a54252ad35,edda571a91b869a30c29faa2051c7863120dd8c5..3760c04775b71e9135760d8c680c0b9ac6cd7faa
+++ b/manifest
@@@ -1,5 -1,5 +1,5 @@@
- C WASM:\sremoved\sthe\sin64-related\sbindings,\sas\sMDN\ssays\sthat\scalling\sa\swasm\sfunction\swhich\shas\san\sint64\stype\sin\sits\ssignature\swill\scurrently\sthrow\sbecause\sJS\shas\sno\s64-bit\sinteger\ssupport.\sThose\sbindings\snow\suse\sdoubles\sand\ssimply\shope\sthat\sthe\suser\sdoesn't\sexceed\stheir\sinteger\sprecision\s(2^53-1,\sapprox\s9\squadrillion).
- D 2022-05-23T01:11:49.315
 -C Defer\smaterializing\sa\sview\sor\ssubquery\suntil\sthe\smaterialization\sis\sactually\nneeded,\sso\sthat\sif\sit\sis\snot\sneeded,\snot\suseless\swork\sis\sperformed.
 -D 2022-05-21T18:03:33.534
++C Do\snot\srun\sthe\ssubroutine\sthat\smaterializes\sa\sview\sor\ssubquery\suntil\sjust\nbefore\sthe\smaterialization\sis\sactually\sneeded,\sso\sthat\sif\sthe\smaterialization\nturns\sout\sto\snever\sbeen\sneeded,\sunnecessary\swork\scan\sbe\savoided.
++D 2022-05-23T10:57:20.868
  F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
  F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
  F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@@ -1967,8 -1959,8 +1967,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 0d6332f706ec5c34cc6a9ff79878f4e10a9ad81b24cc7d743b52168586285811
- R 79562a6f4ad568e3ba19c4e1026944bf
- U stephan
- Z 5fc9a3781b7c2550ee7ad879a95eb45a
 -P 34d7045b2cc8ef16fd4115499888703a376d2c3a289e7fdd117f8341ffa586c3
 -R 058fc768a58c4fd785bb93fdbe45be57
++P 392e84828275ec203bc713d3a5d4790852add57539add6b29b5f6de1da2dc97a 16bf350683fd6ac906dbd02b21fb8bf1b1014ed05594cacf108645acd383ae65
++R b08060ca43b78ebd2d297e7f5a17d817
++T +closed 16bf350683fd6ac906dbd02b21fb8bf1b1014ed05594cacf108645acd383ae65
+ U drh
 -Z dfce5b150de5672fb6eac9f2e6af6b0f
++Z be8900ebd686c65db6085318ddd46fbb
  # Remove this line to create a well-formed Fossil manifest.
diff --cc manifest.uuid
index 7b8ebbf8bd08863fc2210741209eb9e890a0d7ed,39bfba4a16288d97993d1376f01f99152de3ffca..5a87c0c1e40c15ab383ad46228e10979181a276c
@@@ -1,1 -1,1 +1,1 @@@
- 392e84828275ec203bc713d3a5d4790852add57539add6b29b5f6de1da2dc97a
 -16bf350683fd6ac906dbd02b21fb8bf1b1014ed05594cacf108645acd383ae65
++d64ae49a1f2513171d678259928c67741d79b2ae595078299525641a676cc46b