PThorpe92
5c1dbd1a9f
Remove unused import
2025-07-30 14:08:33 +03:00
PThorpe92
3db72cf111
Just forget Full checkpoint mode for now, comment out compat test
2025-07-30 14:08:33 +03:00
PThorpe92
49f90980d4
Create new header after truncation chkpt
2025-07-30 14:08:33 +03:00
PThorpe92
b214c3dfc8
Add diff chkpt modes to sqlite3 api, finish checkpoint logic and add tests
2025-07-30 14:08:33 +03:00
PThorpe92
eaa6f99fa8
Hold and ensure release of proper locks if we trunc the db file post-checkpoint
2025-07-30 14:08:33 +03:00
PThorpe92
8ca37b71b6
Ensure we properly hold and release read locks in log restart method and fix tests
2025-07-30 14:08:33 +03:00
PThorpe92
9b7e5ed292
Trunc db file after backfilling everything in calling method
2025-07-30 14:08:33 +03:00
PThorpe92
436747536c
Add integration test for truncate checkpointing wal
2025-07-30 14:08:33 +03:00
PThorpe92
7643ef97a6
Pass checkpoint mode from sqlite3 c api argument
2025-07-30 14:08:33 +03:00
PThorpe92
f4becd1296
Allow using !passive checkpoint methods in pragma wal_checkpoint
2025-07-30 14:08:33 +03:00
PThorpe92
1a9b7ef76e
Add support for truncate, restart and full checkpointing methods
2025-07-30 14:08:31 +03:00
PThorpe92
6b71efa5b6
Accept mode argument for checkpoint in connection api
2025-07-30 14:07:20 +03:00
PThorpe92
f78c6af51a
Display error when unable to open file from within cli
2025-07-30 14:07:20 +03:00
PThorpe92
441319e774
Fix todo! in vfs IO preventing write wal header from using wait_for_completion
2025-07-30 14:07:19 +03:00
PThorpe92
ad286bb873
Use new wait_for_completion for sync IO
2025-07-30 14:07:04 +03:00
PThorpe92
9c75872827
Make writing wal header able to be sync
2025-07-30 14:05:18 +03:00
PThorpe92
dcf346b9b0
Update apparently very old branch to new api
2025-07-30 13:48:05 +03:00
PThorpe92
cfbe9d5b9e
Fix clippy error casting same size
2025-07-30 13:48:05 +03:00
PThorpe92
f22313575f
Fix windows method to take usize in place of u64
2025-07-30 13:48:05 +03:00
PThorpe92
edbc29e2a6
Add restart_header and truncate for WAL and tests to prep for truncate checkpoint mode
2025-07-30 13:48:05 +03:00
PThorpe92
272a63b562
Fix truncate impl in JS bindings
2025-07-30 13:48:05 +03:00
PThorpe92
3be8bb374d
Use usize for truncate method in place of u64
2025-07-30 13:48:05 +03:00
PThorpe92
52f63b2af0
Impl truncate for simulator
2025-07-30 13:48:05 +03:00
PThorpe92
bbb47fd58a
Add truncate method to wasm bindings module
2025-07-30 13:48:05 +03:00
PThorpe92
ce1897cb4a
Impl truncate for the remainder of IO modules
2025-07-30 13:48:05 +03:00
PThorpe92
d30157518f
Impl truncate method for VFS io module and create plumbing in extension lib
2025-07-30 13:48:05 +03:00
PThorpe92
fa002cba59
Impl truncate method for io_uring IO
2025-07-30 13:48:05 +03:00
PThorpe92
a4121c8cea
Impl truncate method for generic IO
2025-07-30 13:48:05 +03:00
PThorpe92
73fe4ffa06
Add truncate method to DatabaseStorage trait
2025-07-30 13:48:05 +03:00
PThorpe92
8bf2898c47
Add truncate method to IO trait and Truncate completion variant
2025-07-30 13:48:05 +03:00
Nikita Sivukhin
f3da874fd5
fix clippy
2025-07-30 14:38:29 +04:00
Nikita Sivukhin
aad0460bd1
rename methods
2025-07-30 14:23:18 +04:00
Nikita Sivukhin
16ed251cc5
remove turso_assert
2025-07-30 14:18:47 +04:00
Nikita Sivukhin
2b5dbba2df
set tokio_unstable cfg at workspace root
...
- cargo commands invoked from workspace root do not capture custom configuration of RUSTFLAGS
from workspace members
- see relevant issue https://github.com/rust-lang/cargo/issues/7004
2025-07-30 14:13:41 +04:00
Pere Diaz Bou
baa424bff6
release and remove copies
2025-07-30 11:45:24 +02:00
bit-aloo
a828b9f29b
add start > end condition and corresponding test
2025-07-30 14:49:11 +05:30
bit-aloo
bf58ede567
make vectortype copy and cloned variant's accordingly
2025-07-30 14:28:15 +05:30
bit-aloo
44707495b9
add more test covering the edge cases
2025-07-30 14:19:37 +05:30
bit-aloo
6f45cb9770
update vector slice to adhere to start..end and not start, length
2025-07-30 14:10:43 +05:30
bit-aloo
c546261010
update as_int to return Option, instead of panicking. Update vector_slice and vector_concat accordingly
2025-07-30 13:54:55 +05:30
bit-aloo
96a99ca48a
rename subvector to vector_slice
2025-07-30 13:34:49 +05:30
Nikita Sivukhin
b78ce17022
properly configure TLS and use default features for rustls/hyper-rustls deps
2025-07-30 11:47:36 +04:00
Pekka Enberg
2eed2745d3
Merge 'Change more function signatures to return Completions' from Pedro Muniz
...
Closes #2330
2025-07-30 10:42:45 +03:00
Pekka Enberg
2443b8db3c
Merge 'bindings/rust: Add Connection::execute_batch()' from Rohith Suresh
...
Fixes #2184
Closes #2215
2025-07-30 10:19:03 +03:00
Pekka Enberg
81c86d42b4
Merge 'Clean up conversion between InsnFunctionStepResult and StepResult' from Diego Reis
...
Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com >
Closes #2332
2025-07-30 09:11:35 +03:00
Pekka Enberg
9ab26b3ac2
Merge 'core/mvcc: simplify mvcc cursor types' from Pere Diaz Bou
...
We have so many cursor types that it will be unbearable to properly make
all of them work. Let's simplify this and only focus on lazy cursor
which in the future will load from database in case we need it.
Closes #2333
2025-07-30 09:10:44 +03:00
bit-aloo
b5d46803b5
update compact.md with vector concat and subvector listings
2025-07-30 09:51:08 +05:30
bit-aloo
a5dce2b50b
add subvector execution flow
2025-07-30 09:51:08 +05:30
bit-aloo
24c260a05f
add as int method in Value
2025-07-30 09:51:07 +05:30
bit-aloo
c8ba6a7d49
update subvector implementation to make handle out of bound cases correctly and correctly parse the vector
2025-07-30 09:51:03 +05:30