Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
os_kv.c
206db97
Remove redundant assignment in kvvfs's decoding.
by peter.d.reid
· 2 years, 7 months ago
576fe90
Avoid an infinite loop when an unexpected character is being decoded by kvvfs
by peter.d.reid
· 2 years, 7 months ago
fed255d
Move kvvfs xRead()/xWrite() buffer from function-local stack memory to heap memory to accommodate changes in emsdk 3.1.27.
by stephan
· 2 years, 8 months ago
9c17ee4
Do not accept a NULL pointer for the filename in KVVFS.
by drh
· 2 years, 9 months ago
f7b58da
The kvvfs VFS should remember the page size when writing to the database.
by drh
· 2 years, 9 months ago
d35b558
Refactor os_kv.c so that the kvvfs read/write/delete methods can be swapped out at runtime by JS implementations. This eliminates the kvvfs dependency on Emscripten. Checkin part 1 of 2, to account for cherrypicking.
by stephan
· 2 years, 9 months ago
3278142
Fiddle: fix makefile dependency issue and duplicate inclusion of post-js.js. Reimplement db export using sqlite3_serialize().
by stephan
· 2 years, 10 months ago
a50d3b7
Fix an uninitialized variable in the decoder kv-vfs.
by drh
· 2 years, 10 months ago
20a9ed1
Include the kv-vfs as an optional VFS on unix builds if the
by drh
· 2 years, 10 months ago
756440f
Corrections to the xRead method for databases in the os_kv.c VFS so that it
by drh
· 2 years, 10 months ago
84e5076
Fix os_kv.c so that it uses SQLITE_FCNTL_SYNC and hence
by drh
· 2 years, 10 months ago
d22cfa8
Pull the src/os_kv.c part of [13839759f8f4] into the kv-vfs branch.
by stephan
· 2 years, 10 months ago
5fd8f27
Remove an extraneous key-copy op in the EM_JS impl of kvstorageDelete().
by stephan
· 2 years, 10 months ago
d8bb0b5
Add a gettimeofday()-based implementation of xCurrentTimeInt64() to os_kv.c.
by drh
· 2 years, 10 months ago
bb19512
Fix a debugging/testing edit in the previous check-in.
by drh
· 2 years, 10 months ago
6acd7b0
Faster text decoder for kv_os.c.
by drh
· 2 years, 10 months ago
1ad51ff
Fix uninitialized variable in rollback-journal processing in os_kv.c
by drh
· 2 years, 10 months ago
ad5125a
Initial build of kvvfs in wasm. It loads but cannot find the VFS for as-yet-unknown reasons (sqlite3 shell works fine), and most APIs throw "null function or function signature mismatch" from deep within wasm, presumably as a side effect of the "missing" VFS.
by stephan
· 2 years, 10 months ago
c6c9c6a
Improved comments in os_kv.c. Better names for the key/value name spaces.
by drh
· 2 years, 10 months ago
7585f49
Move the vfskv.c extension to src/os_kv.c and make it part of the amalgamation,
by drh
· 2 years, 10 months ago
[Renamed (88%) from ext/misc/vfskv.c]
25f6250
Database must be named either "local" or "session". Each has a distinct
by drh
· 2 years, 10 months ago
f7377d5
Separate sqlite3_io_methods objects for database files and journals.
by drh
· 2 years, 10 months ago
126976c
Simple reading and writing now works.
by drh
· 2 years, 10 months ago
7cd81af
Compiles and loads as an extension. Starts to run but quickly hits issues.
by drh
· 2 years, 11 months ago
e3485ee
Compiles without error, but untested.
by drh
· 2 years, 11 months ago
cb94132
Code snapshot. Completely untested. Probably does not compile.
by drh
· 2 years, 11 months ago
59ece7e
Non-working code towards a VFS for text key/value storage.
by drh
· 2 years, 11 months ago