]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix a predicate which causes a false error in the OPFS SAHPool tests when building...
authorstephan <stephan@noemail.net>
Tue, 5 May 2026 08:11:55 +0000 (08:11 +0000)
committerstephan <stephan@noemail.net>
Tue, 5 May 2026 08:11:55 +0000 (08:11 +0000)
FossilOrigin-Name: 97ab0a2fd56501d08bc2ab2adbe70a4130f6c5b5db343941fa16c7b34c550bd3

ext/wasm/tester1.c-pp.js
manifest
manifest.uuid

index 346d49bb0c6055054dda55c4af6fc88378f236da..b18d90209dd8773be71ea100bddf998e0b7321a6 100644 (file)
@@ -386,7 +386,7 @@ globalThis.sqlite3InitModule = sqlite3InitModule;
 
      This function initializes the db described by ctorOptFunc(...),
      writes some secret info into it, and re-opens it twice to
-     confirmi that it can be read with an SEE key and cannot be read
+     confirm that it can be read with an SEE key and cannot be read
      without one.
   */
   T.seeBaseCheck = function(ctor, ctorOptFunc, dbUnlink){
@@ -3940,7 +3940,7 @@ globalThis.sqlite3InitModule = sqlite3InitModule;
 //#/query
   ////////////////////////////////////////////////////////////////////////
   T.g('OPFS SyncAccessHandle Pool VFS',
-      (sqlite3)=>(!!sqlite3.installOpfsSAHPoolVfs || "requires OPFS SAH Pool APIs"))
+      (sqlite3)=>(isWorker() && !!sqlite3.installOpfsSAHPoolVfs || "requires OPFS SAH Pool APIs"))
     .t({
       name: 'SAH sanity checks',
       test: async function(sqlite3){
index 696ab49c95b842804c8a356569bce0bcc0ffabf8..abb1d9609e74a8ea0cb404b2ce698790c0a68dd9 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\s#include\stime.h\sto\sshell.c.in\sto\sget\sfiddle\sbuilding\swith\semcc\s5.x.
-D 2026-05-05T07:57:54.930
+C Fix\sa\spredicate\swhich\scauses\sa\sfalse\serror\sin\sthe\sOPFS\sSAHPool\stests\swhen\sbuilding\swith\sSEE.
+D 2026-05-05T08:11:55.273
 F .fossil-settings/binary-glob 61195414528fb3ea9693577e1980230d78a1f8b0a54c78cf1b9b24d0a409ed6a x
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
@@ -647,7 +647,7 @@ F ext/wasm/test-opfs-vfs.html 1f2d672f3f3fce810dfd48a8d56914aba22e45c6834e262555
 F ext/wasm/test-opfs-vfs.js 1618670e466f424aa289859fe0ec8ded223e42e9e69b5c851f809baaaca1a00c
 F ext/wasm/tester1-worker.c-pp.html 7171022e7f4da8f46e5f50ea81dd6ce840b9235c47653a5deeb3764ccc2fe472
 F ext/wasm/tester1.c-pp.html bd927ccf51ddd65e924660a0487add99e1b044afe03950e49d87ccf44efdddb6
-F ext/wasm/tester1.c-pp.js 581be6f3228351bc77512ba743912d1ad52f40dde1fef1a943fd568b0cfc51b1
+F ext/wasm/tester1.c-pp.js 54ce4a08d3752cb52cf60926d7da47a21ae63d620f90679770dd9c04002722b4
 F ext/wasm/tests/opfs/concurrency/index.html 706eab6308343c04ac2360aba6001af4ffaf46d8f33a0ccd02c64d93e3216a43
 F ext/wasm/tests/opfs/concurrency/test.js 6919778fceaac1b7cc78caf41d796f545d2c4433b31188aa9689f05b5ad28828
 F ext/wasm/tests/opfs/concurrency/worker.js 704d82c5e287e47f612349e027765943a58ad967dcf178fb5a1c3a8eaafb09af
@@ -2203,8 +2203,8 @@ F tool/warnings-clang.sh bbf6a1e685e534c92ec2bfba5b1745f34fb6f0bc2a362850723a9ee
 F tool/warnings.sh a554d13f6e5cf3760f041b87939e3d616ec6961859c3245e8ef701d1eafc2ca2
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
 F tool/winmain.c 00c8fb88e365c9017db14c73d3c78af62194d9644feaf60e220ab0f411f3604c
-P b6ad35096d48de29fd8da498ac23cd7eba9194a70cad05ec49c318f11fe77199
-R ddec9706b75c850c56829ad5c228f9c8
+P ae675dfe7946d37f224f22ad34b6ebe049fb1426cb3d49d88ebc10d0b7634e40
+R e4215cbf4e1fd3ce7cf64889e8f2b507
 U stephan
-Z 0abd79f2fc21e1bff27b7db2e19b84f3
+Z 3d96fb4105522e6618b3ae90de75cf96
 # Remove this line to create a well-formed Fossil manifest.
index 4ec0b4cabfcf2656f9ff17a5f1e1b81f90e03fd9..57c418f9ca15145083628fbb18d71a850dfc209f 100644 (file)
@@ -1 +1 @@
-ae675dfe7946d37f224f22ad34b6ebe049fb1426cb3d49d88ebc10d0b7634e40
+97ab0a2fd56501d08bc2ab2adbe70a4130f6c5b5db343941fa16c7b34c550bd3