]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Begrudingly allow sqlite3_js_kvvfs_clear() to work for opened storage only for the...
authorstephan <stephan@noemail.net>
Mon, 1 Dec 2025 22:20:54 +0000 (22:20 +0000)
committerstephan <stephan@noemail.net>
Mon, 1 Dec 2025 22:20:54 +0000 (22:20 +0000)
commit9d6b913098c61a3f47dc6fb994cfa5c567e4ef3b
tree82b1195fa3eee608b698a6c97fca7e72b4bece7f
parentf1d5e9e913799523c8ec5424f252f4422270989e
Begrudingly allow sqlite3_js_kvvfs_clear() to work for opened storage only for the local/session storage cases and only (one of the demo apps reminds me) for backwards compatiblity. Likewise, the JsStorageDb.clearStorage() inherited method is now deprecated because it requires an opened db (but continues to work for those two stores), whereas its 'static' method of the same name is unaffected. Rename kvvfs.size() to kvvfs.estimateSize().

FossilOrigin-Name: 09e9255828ed6a7ccbe18f701f4a88b859cfdbd1ddca7ac5dac09744542c25fa
ext/wasm/api/sqlite3-api-oo1.c-pp.js
ext/wasm/api/sqlite3-api-prologue.js
ext/wasm/api/sqlite3-vfs-kvvfs.c-pp.js
ext/wasm/demo-jsstorage.js
ext/wasm/demo-worker1.js
ext/wasm/tester1.c-pp.js
manifest
manifest.uuid