From: stephan Date: Mon, 11 Mar 2024 09:34:38 +0000 (+0000) Subject: Add delete-before-open=1 URI flag to the 'opfs' VFS to tell it to xDelete the db... X-Git-Tag: version-3.46.0~145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88abf9ad44f65654e50a47c0f4a9f6e66eeff349;p=thirdparty%2Fsqlite.git Add delete-before-open=1 URI flag to the 'opfs' VFS to tell it to xDelete the db file before opening it, primarily to enable users to work around a corrupt db without having to reach into OPFS-specific APIs to remove the db file. FossilOrigin-Name: e87cf0d7700d33a439c91725460fbfe3a1765b48f71b4d73c38cadf6c166e0bd --- 88abf9ad44f65654e50a47c0f4a9f6e66eeff349 diff --cc manifest index 8e74d529af,a08f5bc55d..b49a60d948 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Fix\sthe\s.expert\scommand\sin\sthe\sshell\sso\sthat\sit\sdoes\snot\sleak\smemory\sif\snot\nfollowed\sby\sSQL\sand\sso\sthat\sit\sworks\swith\sreverse_unordered_selects. - D 2024-03-09T18:41:40.779 + C Add\sdelete-before-open=1\sURI\sflag\sto\sthe\s'opfs'\sVFS\sto\stell\sit\sto\sxDelete\sthe\sdb\sfile\sbefore\sopening\sit,\sprimarily\sto\senable\susers\sto\swork\saround\sa\scorrupt\sdb\swithout\shaving\sto\sreach\sinto\sOPFS-specific\sAPIs\sto\sremove\sthe\sdb\sfile. -D 2024-03-11T09:32:38.668 ++D 2024-03-11T09:34:38.171 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@@ -2177,8 -2177,11 +2177,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 76629b2bff01df3d42eef2e93d626c291a2f129bd923498941465e5bca74e9f1 - R d4c5b88cb6e2dcca46b9c5560f050fe6 - U drh - Z b901e762e961c86b4b7445204eab052b -P 7ead022edaf7a0cd6a8976a1261246084975c9a5be5c893f6c751bb5f963ac0f ++P 7ead022edaf7a0cd6a8976a1261246084975c9a5be5c893f6c751bb5f963ac0f e83f9788636f7f9bcca7d2a09620c13ab4eb83436d5b2946a827e48addf0267d + R 9e249fa0727bf1c60716395bdc490ae1 -T *branch * opfs-delete-before-open -T *sym-opfs-delete-before-open * -T -sym-trunk * Cancelled\sby\sbranch. ++T +closed e83f9788636f7f9bcca7d2a09620c13ab4eb83436d5b2946a827e48addf0267d Closed\sby\sintegrate-merge. + U stephan -Z f66cad865afa3b804834b14eccf1a085 ++Z e48b52f183c07790d9437c2d350f2700 # Remove this line to create a well-formed Fossil manifest. diff --cc manifest.uuid index bb9cddfbd6,82d8c76fd0..091241ce53 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 7ead022edaf7a0cd6a8976a1261246084975c9a5be5c893f6c751bb5f963ac0f -e83f9788636f7f9bcca7d2a09620c13ab4eb83436d5b2946a827e48addf0267d ++e87cf0d7700d33a439c91725460fbfe3a1765b48f71b4d73c38cadf6c166e0bd