diff options
author | stephan <stephan@noemail.net> | 2024-02-06 08:25:23 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2024-02-06 08:25:23 +0000 |
commit | db9cc74c9ce786947c34497d778216b3acd9b373 (patch) | |
tree | 9f8e942cfc52f8210f2c1548779a5553a88f5355 /ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js | |
parent | 5e922865aa1506aa14129e53281d9cbb1989b283 (diff) | |
download | sqlite-db9cc74c9ce786947c34497d778216b3acd9b373.tar.gz sqlite-db9cc74c9ce786947c34497d778216b3acd9b373.zip |
Make explicit that using the importDb() methods of the OPFS VFSes has undefined results if the being-imported db is currently open. Doc changes only.
FossilOrigin-Name: f28b9924b401b359e59a73918a34b29cde719164a6b4ac5a9d23da6294b701bd
Diffstat (limited to 'ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js')
-rw-r--r-- | ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js b/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js index 870073cc0..f3664fd4b 100644 --- a/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js +++ b/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js @@ -1137,8 +1137,9 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ existing content. Throws if the pool has no available file slots, on I/O error, or if the input does not appear to be a database. In the latter case, only a cursory examination is made. - Note that this routine is _only_ for importing database files, - not arbitrary files, the reason being that this VFS will + Results are undefined if the given db name refers to an opened + db. Note that this routine is _only_ for importing database + files, not arbitrary files, the reason being that this VFS will automatically clean up any non-database files so importing them is pointless. |