3 ms·
I think this should come with the disclaimer that this completely eschews synchronization mechanisms used by SQLite. Using this to read from a DB concurrently
by ncruces 3y ago
I think this should come with the disclaimer that this completely eschews synchronization mechanisms used by SQLite.
Using this to read from a DB concurrently with other writers will produce garbage results.
Using this to write to a DB concurrently with other writers will corrupt your DB.
WASI does not expose file locking primitives, and the unix VFS simply stubs them out in WASI builds:
https://github.com/sqlite/sqlite/blob/4e8e33ba84e253878797d7f4443810387cb87469/src/os_unix.c#L200 https://github.com/sqlite/sqlite/blob/4e8e33ba84e253878797d7...