diff options
author | stephan <stephan@noemail.net> | 2022-10-20 18:31:32 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-10-20 18:31:32 +0000 |
commit | 8a8244b5c104022b5d6b4072630f012e6daf174e (patch) | |
tree | 280430fb83a31b34246b9871a1f88fededd816c3 /ext/wasm/api/sqlite3-api-oo1.js | |
parent | c046f6d4d92ed22d1454f3c64da8ecc4e49f9552 (diff) | |
download | sqlite-8a8244b5c104022b5d6b4072630f012e6daf174e.tar.gz sqlite-8a8244b5c104022b5d6b4072630f012e6daf174e.zip |
Rename sqlite3_web_... to sqlite3_js_... Document the worker1.close.unlink option. Fix unlink usage in speedtest1.html. Minor JS build cleanups.
FossilOrigin-Name: ac9af71b72a749b0a040273a88480d56f49570b569389a4ea20cc055f494d8ff
Diffstat (limited to 'ext/wasm/api/sqlite3-api-oo1.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-oo1.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/wasm/api/sqlite3-api-oo1.js b/ext/wasm/api/sqlite3-api-oo1.js index f1014fcc0..c2e7eb14f 100644 --- a/ext/wasm/api/sqlite3-api-oo1.js +++ b/ext/wasm/api/sqlite3-api-oo1.js @@ -1406,7 +1406,7 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ default: this._mayGet = false; console.warn("sqlite3_step() rc=",rc, - capi.sqlite3_web_rc_str(rc), + capi.sqlite3_js_rc_str(rc), "SQL =", capi.sqlite3_sql(this.pointer)); DB.checkRc(this.db.pointer, rc); } @@ -1662,8 +1662,8 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ }; const jdb = sqlite3.oo1.JsStorageDb; jdb.prototype = Object.create(DB.prototype); - /** Equivalent to sqlite3_web_kvvfs_clear(). */ - jdb.clearStorage = capi.sqlite3_web_kvvfs_clear; + /** Equivalent to sqlite3_js_kvvfs_clear(). */ + jdb.clearStorage = capi.sqlite3_js_kvvfs_clear; /** Clears this database instance's storage or throws if this instance has been closed. Returns the number of @@ -1672,8 +1672,8 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ jdb.prototype.clearStorage = function(){ return jdb.clearStorage(affirmDbOpen(this).filename); }; - /** Equivalent to sqlite3_web_kvvfs_size(). */ - jdb.storageSize = capi.sqlite3_web_kvvfs_size; + /** Equivalent to sqlite3_js_kvvfs_size(). */ + jdb.storageSize = capi.sqlite3_js_kvvfs_size; /** Returns the _approximate_ number of bytes this database takes up in its storage or throws if this instance has been closed. |