]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Minor JS doc tweaks.
authorstephan <stephan@noemail.net>
Thu, 10 Jul 2025 09:25:57 +0000 (09:25 +0000)
committerstephan <stephan@noemail.net>
Thu, 10 Jul 2025 09:25:57 +0000 (09:25 +0000)
FossilOrigin-Name: 34d893b4837be8bb679e9809befd98201dd79c8d2054f41429b18793b77e840f

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

index 27176c026418112e923b7005aca5d3bdff8db54a..1473e4e45e7cb88b136c1b72d4eac66881a73652 100644 (file)
@@ -1502,7 +1502,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
      pass that pointer to sqlite3_close() when its close() method is
      called, otherwise it will not.
 
-     Throws if db cannot be resolved to one of the legal options.
+     Throws if pDb is not a non-0 WASM pointer.
 
      The caller MUST GUARANTEE that the passed-in handle will outlive
      the returned object, i.e. that it will not be closed. If it is closed,
@@ -1510,16 +1510,15 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
 
      Aside from its lifetime, the proxy is to be treated as any other
      DB instance, including the requirement of calling close() on
-     it. close() will free up internal resources owned by the proxy,
-     and disassociate the proxy from that handle, but will not
+     it. close() will free up internal resources owned by the proxy
+     and disassociate the proxy from that handle but will not
      actually close the proxied db handle unless this function is
      passed a thruthy second argument.
 
-     The following quirks and requirements apply when proxying another
-     DB instance, as opposed to a (sqlite3*):
+     To stress:
 
      - DO NOT call sqlite3_close() (or similar) on the being-proxied
-       instance while a proxy is active.
+       pointer while a proxy is active.
 
      - ALWAYS eventually call close() on the returned object. If the
        proxy does not own the underlying handle then its MUST be
index abeec3b3722366542bf134e0aa00cf0a26f53065..20cc6238891fec82dc87cd19112fdfd91b8ee72a 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C wasm:\sDB.wrapHandle()\sno\slonger\saccepts\sa\sDB\sobject\sas\sits\sfirst\sargument,\sas\sthere's\sno\sapparent\suse\scase\sfor\sproxying\sone\sDB\sobject\swith\sanother.\sDoc\simprovements\sfor\sthe\snew\scode.
-D 2025-07-09T13:43:53.471
+C Minor\sJS\sdoc\stweaks.
+D 2025-07-10T09:25:57.652
 F .fossil-settings/binary-glob 61195414528fb3ea9693577e1980230d78a1f8b0a54c78cf1b9b24d0a409ed6a x
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
@@ -641,7 +641,7 @@ F ext/wasm/api/post-js-header.js 53740d824e5d9027eb1e6fd59e216abbd2136740ce260ea
 F ext/wasm/api/pre-js.c-pp.js a614a2c82b12c4d96d8e3ba77330329efc53c4d56a8a7e60ade900f341866cfb
 F ext/wasm/api/sqlite3-api-cleanup.js 3ac1786e461ada63033143be8c3b00b26b939540661f3e839515bb92f2e35359
 F ext/wasm/api/sqlite3-api-glue.c-pp.js 0b76510f3650053bac67ca8947cb6ab9d050ad2218118a2e7796dd37be832ffa
-F ext/wasm/api/sqlite3-api-oo1.c-pp.js 972e0aa2f6f3ad9d9530edfc5c18a56e55ab5bec728ce6ca9b89ce1df463f740
+F ext/wasm/api/sqlite3-api-oo1.c-pp.js bc472af6c3aada06ad94b332bf23cef2407932e5bb4c0c34c12a6ced343c2e51
 F ext/wasm/api/sqlite3-api-prologue.js 8708570165f5b4bce9a78ccd91bc9ddf8735970ac1c4d659e36c9a7d9a644bb4
 F ext/wasm/api/sqlite3-api-worker1.c-pp.js f646a65257973b8c4481f8a6a216370b85644f23e64b126e7ae113570587c0ab
 F ext/wasm/api/sqlite3-license-version-header.js 0c807a421f0187e778dc1078f10d2994b915123c1223fe752b60afdcd1263f89
@@ -2208,8 +2208,8 @@ F tool/version-info.c 3b36468a90faf1bbd59c65fd0eb66522d9f941eedd364fabccd7227350
 F tool/warnings-clang.sh bbf6a1e685e534c92ec2bfba5b1745f34fb6f0bc2a362850723a9ee87c1b31a7
 F tool/warnings.sh 1ad0169b022b280bcaaf94a7fa231591be96b514230ab5c98fbf15cd7df842dd
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 3fe61545967f82190011edb90b1be6a448b590555c7ba5f8e96494aeea8f88ce
-R 7d3270f820abddff176885a6dceb6626
+P 0ee19db02a9b9320681d4393d9ba52889d149eac8ee114fc7b7f52a57271c139
+R 9671bcb7870e122ad1976f1fae21a064
 U stephan
-Z 4ed976109c5d88084cce8c9c03b32258
+Z adaaff03d3b0b893bc2eaac10b306778
 # Remove this line to create a well-formed Fossil manifest.
index b2ae9d924eb98cc58b6a64cb9a0b5cf2900ffac1..963b157be56a7fa4318e9890306c46b21e090fc2 100644 (file)
@@ -1 +1 @@
-0ee19db02a9b9320681d4393d9ba52889d149eac8ee114fc7b7f52a57271c139
+34d893b4837be8bb679e9809befd98201dd79c8d2054f41429b18793b77e840f