]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Remove some dead JS code and some extraneous debug output from test code.
authorstephan <stephan@noemail.net>
Sun, 6 Jul 2025 15:36:28 +0000 (15:36 +0000)
committerstephan <stephan@noemail.net>
Sun, 6 Jul 2025 15:36:28 +0000 (15:36 +0000)
FossilOrigin-Name: 6e73770a7f3845055e0130012d844c32c4a1bfdb87e8379c161e1a266a808143

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

index 13ca9a4bdfa48884c390872cf2b70998688ad9eb..cc4c9bb287693618706bad2aa2b8c348045cfdcf 100644 (file)
@@ -429,7 +429,6 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
      - `vfs`: the VFS fname
 
 //#if enable-see
-
      SEE-capable builds optionally support ONE of the following
      additional options:
 
@@ -455,7 +454,6 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
      is supplied and the database is encrypted, execution of the
      post-initialization SQL will fail, causing the constructor to
      throw.
-
 //#endif enable-see
 
      The `filename` and `vfs` arguments may be either JS strings or
@@ -483,8 +481,8 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
   /**
      Internal-use enum for mapping JS types to DB-bindable types.
      These do not (and need not) line up with the SQLITE_type
-     values. All values in this enum must be truthy and distinct
-     but they need not be numbers.
+     values. All values in this enum must be truthy and (mostly)
+     distinct but they need not be numbers.
   */
   const BindTypes = {
     null: 1,
@@ -493,7 +491,6 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
     boolean: 4,
     blob: 5
   };
-  BindTypes['undefined'] == BindTypes.null;
   if(wasm.bigIntEnabled){
     BindTypes.bigint = BindTypes.number;
   }
@@ -1589,8 +1586,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
         case BindTypes.string:
           return t;
         case BindTypes.bigint:
-          if(wasm.bigIntEnabled) return t;
-          /* else fall through */
+          return wasm.bigIntEnabled ? t : undefined;
         default:
           return util.isBindableTypedArray(v) ? BindTypes.blob : undefined;
     }
index 446437eef8482847cbe029d3cb18648df56dc806..824b6081dabc98a54a2f3884f3e849b06774efac 100644 (file)
@@ -1218,9 +1218,9 @@ globalThis.sqlite3InitModule = sqlite3InitModule;
            demonstrate that the wrappers for this.db created by this
            function do not interfere with downstream tests, e.g. by
            closing this.db.pointer. */
-        sqlite3.config.debug("Proxying",this.db);
+        //sqlite3.config.debug("Proxying",this.db);
         let dw = sqlite3.oo1.DB.wrapHandle(this.db);
-        sqlite3.config.debug('dw',dw);
+        //sqlite3.config.debug('dw',dw);
         T.assert( dw, '!!dw' )
           .assert( dw instanceof sqlite3.oo1.DB, 'dw is-a oo1.DB' )
           .assert( dw.pointer, 'dw.pointer' )
index 5299e9d5a57b8f8b5483763003f668362b6c24dc..7a3bb87723fe9a6f3adb87c84c1e1683fefb1e82 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C JS\sdoc\sadditions.
-D 2025-07-06T15:13:06.902
+C Remove\ssome\sdead\sJS\scode\sand\ssome\sextraneous\sdebug\soutput\sfrom\stest\scode.
+D 2025-07-06T15:36:28.567
 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 dc3b30cefa93e6dd9f2b827e31acacbfc2acd522d5ca4d46e977dacc4261398f
+F ext/wasm/api/sqlite3-api-oo1.c-pp.js 33203352e067d3dbb569c5ec3c247b356f61a8d320bf8551fdf18ff25c0ff862
 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
@@ -698,7 +698,7 @@ F ext/wasm/test-opfs-vfs.html 1f2d672f3f3fce810dfd48a8d56914aba22e45c6834e262555
 F ext/wasm/test-opfs-vfs.js 1618670e466f424aa289859fe0ec8ded223e42e9e69b5c851f809baaaca1a00c
 F ext/wasm/tester1-worker.html ebc4b820a128963afce328ecf63ab200bd923309eb939f4110510ab449e9814c
 F ext/wasm/tester1.c-pp.html 1c1bc78b858af2019e663b1a31e76657b73dc24bede28ca92fbe917c3a972af2
-F ext/wasm/tester1.c-pp.js e7176b2bc1228cf9a87833be7e53e20cb82dec2f104525f5cdd6cb1a53998ad6
+F ext/wasm/tester1.c-pp.js b99d18fe8803215664a3b53af451d11e2573682a2c8973bcd28ce574c497393b
 F ext/wasm/tests/opfs/concurrency/index.html 657578a6e9ce1e9b8be951549ed93a6a471f4520a99e5b545928668f4285fb5e
 F ext/wasm/tests/opfs/concurrency/test.js d08889a5bb6e61937d0b8cbb78c9efbefbf65ad09f510589c779b7cc6a803a88
 F ext/wasm/tests/opfs/concurrency/worker.js 0a8c1a3e6ebb38aabbee24f122693f1fb29d599948915c76906681bb7da1d3d2
@@ -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 1227543b87c3320d6b80e0f61b88ea53b68779966a0295c4d6a1db6369c48207
-R cef3ddc9e77c9bf23d0de246f8a430aa
+P 7933505f0c1d25c6ee81ead8edc5ea649a84ec0582321bcf5ed4a17232750f90
+R 7f815f9b4c7a2aabd4a38289c5be858a
 U stephan
-Z 86c577d4430c4b03afa5e02f4812dc59
+Z d14be01d18ce30e04a958bfca48cc223
 # Remove this line to create a well-formed Fossil manifest.
index a50c65454f385ce2c433b0007434359498bba427..eee638be6b58d808337120b8f1a99eaca6ac88ee 100644 (file)
@@ -1 +1 @@
-7933505f0c1d25c6ee81ead8edc5ea649a84ec0582321bcf5ed4a17232750f90
+6e73770a7f3845055e0130012d844c32c4a1bfdb87e8379c161e1a266a808143