aboutsummaryrefslogtreecommitdiff
path: root/src/os_kv.c
Commit message (Collapse)AuthorAge
* Remove redundant assignment in kvvfs's decoding.peter.d.reid2022-12-31
| | | FossilOrigin-Name: 2ffbf0c73c5a0f08717093cfaac99c4aedee506ec7b5a9a62c92168a2bcadc14
* Avoid an infinite loop when an unexpected character is being decoded by kvvfspeter.d.reid2022-12-31
| | | FossilOrigin-Name: 6909195f77b50650982a6afd9d72b3a6ac9aff1f86c653fa18d0d9bf64e9bd8f
* Move kvvfs xRead()/xWrite() buffer from function-local stack memory to heap ↵stephan2022-12-03
| | | | | memory to accommodate changes in emsdk 3.1.27. FossilOrigin-Name: f1da32410ca7b808b3bef5f5a59766e7281e9e6ea343c8b979599bf1fc1060f5
* Do not accept a NULL pointer for the filename in KVVFS.drh2022-10-27
| | | FossilOrigin-Name: fdecbd3b5bcdeb358015f461ac6c863f12ab180ab4624ed50734e41e557d8186
* The kvvfs VFS should remember the page size when writing to the database.drh2022-10-27
| | | FossilOrigin-Name: fc5503c8acb085042e877c9de43256a4fee27f63ab35e2ddad18e40734ed00d4
* Refactor os_kv.c so that the kvvfs read/write/delete methods can be swapped ↵stephan2022-10-09
| | | | | out at runtime by JS implementations. This eliminates the kvvfs dependency on Emscripten. Checkin part 1 of 2, to account for cherrypicking. FossilOrigin-Name: ea370b9b05f7ed7eaa154ba58019f6642217eabc18517e721567adf948d93980
* Fiddle: fix makefile dependency issue and duplicate inclusion of post-js.js. ↵stephan2022-10-01
| | | | | Reimplement db export using sqlite3_serialize(). FossilOrigin-Name: 29db7de79232c21d19b91bb0fc253114e02e21dd9bf90619453dbe72a4c8bf7f
* Fix an uninitialized variable in the decoder kv-vfs.drh2022-09-17
| | | FossilOrigin-Name: 354726aa6c399053785f29104de15091629ce4bc275b9e2205cb3656a9e81cd7
* Include the kv-vfs as an optional VFS on unix builds if thedrh2022-09-17
| | | | | SQLITE_OS_KV_OPTIONAL compile-time option is present. FossilOrigin-Name: 852812d1e2ec3c53ad7c6c64662b37d861fefcf1baeee3d58eba88bcb3f6d8df
* Corrections to the xRead method for databases in the os_kv.c VFS so that itdrh2022-09-16
| | | | | | correctly reads the header, and thus avoids unnecessary cache flushes. This changes also includes an optimization to the header read logic. FossilOrigin-Name: ef54961ce69fddb4cfeeff0860288de2858a6f7a5aa396691e8e99933eb9af54
* Fix os_kv.c so that it uses SQLITE_FCNTL_SYNC and hencedrh2022-09-16
| | | | | works even with PRAGMA synchronous=OFF. FossilOrigin-Name: 21915af560b111aeeaee751790356151a5f063c2fc703dd4b35b22dc393409fb
* Pull the src/os_kv.c part of [13839759f8f4] into the kv-vfs branch.stephan2022-09-16
| | | FossilOrigin-Name: e334449912d5176e355d02024a07ed867741f71c9d10ce6744ca800414bf3eeb
* Remove an extraneous key-copy op in the EM_JS impl of kvstorageDelete().stephan2022-09-12
| | | FossilOrigin-Name: 1c5aeee45564c14e7e2e7730f3f52106339ea3148fb5aa786fa767a35db46f51
* Add a gettimeofday()-based implementation of xCurrentTimeInt64() to os_kv.c.drh2022-09-12
| | | FossilOrigin-Name: e393ed650ef124143f84e9d787fb996e308dd7af6b8f50df72a6f085b67bf9c3
* Fix a debugging/testing edit in the previous check-in.drh2022-09-12
| | | FossilOrigin-Name: 6fc8d34c0ae1f8277544be741f2f0835fad8e475d35bd24573224ccc1699b8bd
* Faster text decoder for kv_os.c.drh2022-09-12
| | | FossilOrigin-Name: 3354a2edb762d70ccc31d4d25f81b70e644d76e01cb1e81d2e97b5414d809d30
* Fix uninitialized variable in rollback-journal processing in os_kv.cdrh2022-09-12
| | | FossilOrigin-Name: e49682c5eac91958f143e639c5656ca54560d14f5805d514bf4aa0c206e63844
* Initial build of kvvfs in wasm. It loads but cannot find the VFS for ↵stephan2022-09-12
| | | | | 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. FossilOrigin-Name: 1a2f24a0bdfc6eaae478916b8f4f9c6b63ead9964534fc2951fb4e995ffe61f1
* Improved comments in os_kv.c. Better names for the key/value name spaces.drh2022-09-10
| | | FossilOrigin-Name: 8e1652a3856765c9146cc2a7e3b598a2dc7dc84c556b35eab9a35184514384b9
* Move the vfskv.c extension to src/os_kv.c and make it part of the amalgamation,drh2022-09-10
activated if and only if SQLITE_OS_KV is true. FossilOrigin-Name: f6632e69c2ec1a7ddc4e51f3567e3bc082ee94a6dd51fdafdc0c3bf386a32d4c