]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Correct use of an undefined symbol in one of the OPFS VFS loading failure error repor...
authorstephan <stephan@noemail.net>
Wed, 19 Apr 2023 13:39:13 +0000 (13:39 +0000)
committerstephan <stephan@noemail.net>
Wed, 19 Apr 2023 13:39:13 +0000 (13:39 +0000)
FossilOrigin-Name: c81c968b458977b2d6dd2fdd3c3d667f0e7cee069f3715363d0e8aed4e6e8377

ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
manifest
manifest.uuid

index e9dfcf417174f21020affcd2c9c7e4f592d8d0b2..2e09aab21a150e889facd911c327ceeb176d4345 100644 (file)
@@ -1279,14 +1279,15 @@ const installOpfsVfs = function callee(options){
             promiseReject(new Error(data.payload.join(' ')));
             break;
           case 'opfs-async-loaded':
-            /*Arrives as soon as the asyc proxy finishes loading.
-              Pass our config and shared state on to the async worker.*/
+            /* Arrives as soon as the asyc proxy finishes loading.
+               Pass our config and shared state on to the async
+               worker. */
             W.postMessage({type: 'opfs-async-init',args: state});
             break;
-          case 'opfs-async-inited':{
-            /*Indicates that the async partner has received the 'init'
-              and has finished initializing, so the real work can
-              begin...*/
+          case 'opfs-async-inited': {
+            /* Indicates that the async partner has received the 'init'
+               and has finished initializing, so the real work can
+               begin... */
             if(true===promiseWasRejected){
               break /* promise was already rejected via timer */;
             }
@@ -1321,10 +1322,15 @@ const installOpfsVfs = function callee(options){
             }
             break;
           }
-          default:
-            promiseReject(e);
-            error("Unexpected message from the async worker:",data);
+          default: {
+            const errMsg = (
+              "Unexpected message from the OPFS async worker: " +
+              JSON.stringify(data)
+            );
+            error(errMsg);
+            promiseReject(new Error(errMsg));
             break;
+          }
       }/*switch(data.type)*/
     }/*W.onmessage()*/;
   })/*thePromise*/;
index 4b3ad217a57efa4fcf47251d97e863854413e7b9..f5e5e9f713ab8985dc046c5f4dae2c1c32d2c81a 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\spager\sdebug\stracing\sof\struncate\soperations.
-D 2023-04-19T13:30:17.418
+C Correct\suse\sof\san\sundefined\ssymbol\sin\sone\sof\sthe\sOPFS\sVFS\sloading\sfailure\serror\sreporting\scases\s(copy/paste\serror).
+D 2023-04-19T13:39:13.019
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
 F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@ -495,7 +495,7 @@ F ext/wasm/api/sqlite3-api-worker1.js 40a5b1813fcbe789f23ae196c833432c8c83e7054d
 F ext/wasm/api/sqlite3-license-version-header.js 0c807a421f0187e778dc1078f10d2994b915123c1223fe752b60afdcd1263f89
 F ext/wasm/api/sqlite3-opfs-async-proxy.js 70914ae97784d3028150bbf252e07a423056c42cc345903c81b5fae661ce512f
 F ext/wasm/api/sqlite3-v-helper.js e5c202a9ecde9ef818536d3f5faf26c03a1a9f5192b1ddea8bdabf30d75ef487
-F ext/wasm/api/sqlite3-vfs-opfs.c-pp.js 5cb63f847737ded723d0bdf9b3313e8f7deb0bbfd0082dedde540991edde155b
+F ext/wasm/api/sqlite3-vfs-opfs.c-pp.js 69987029bead5a35f1b854e50c3453b527a497a2be35910b2cf07a4d36ec2299
 F ext/wasm/api/sqlite3-wasi.h 25356084cfe0d40458a902afb465df8c21fc4152c1d0a59b563a3fba59a068f9
 F ext/wasm/api/sqlite3-wasm.c c42413ca9f3e64c424b2bbfc5decf639670ca38bc8f7afb7760d5379398c9307
 F ext/wasm/api/sqlite3-worker1-promiser.c-pp.js 2710a06a59620c6bf7ce298ab1fb6c9ce825b9f9379728b74c486db6613beecc
@@ -2058,8 +2058,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P f6e6c5f94cef83645288568a344a0ff64e4ef17b10fab28996567a94db0a002a
-R 645b34b49128ce0ee2d93bc1fed8bf95
-U drh
-Z 43ce893918c01cfc76bddfc773b7f230
+P 0daadf36229816abe73ff684b55ef4f8045ed314347f3a694404a2084decb355
+R e0a847c087c5738b23e88e728c13fa85
+U stephan
+Z d6d1111331e9982a922069d7625156a9
 # Remove this line to create a well-formed Fossil manifest.
index 424c817060ffea6905146989709c7f204f40597e..2c3b25146b46353fb2a94725a295fe6b3f7c0800 100644 (file)
@@ -1 +1 @@
-0daadf36229816abe73ff684b55ef4f8045ed314347f3a694404a2084decb355
\ No newline at end of file
+c81c968b458977b2d6dd2fdd3c3d667f0e7cee069f3715363d0e8aed4e6e8377
\ No newline at end of file