Piotr Rzysko
000d70f1f3
Propagate info about hidden columns
2025-07-14 07:16:53 +02:00
Piotr Rzysko
37b180dc8c
Support multiple tables in kv_store extension
2025-07-14 06:24:29 +02:00
Nils Koch
828d4f5016
fix clippy errors for rust 1.88.0 (auto fix)
2025-07-12 18:58:41 +03:00
Pekka Enberg
eb0de4066b
Rename limbo_ext crate to turso_ext
2025-06-29 12:14:08 +03:00
Pekka Enberg
90c1e3fc06
Switch Connection to use Arc instead of Rc
...
Connection needs to be Arc so that bindings can wrap it with `Mutex` for
multi-threading.
2025-06-16 10:43:19 +03:00
PThorpe92
1cacbf1f0d
Close statements in extension tests, and use mut pointers for stmt
2025-05-24 16:45:25 -04:00
PThorpe92
a4ed464ec4
Add some traces for errors in xconnect
2025-05-24 15:44:06 -04:00
PThorpe92
faa12987b4
Add test case to table stats extension
2025-05-24 14:49:59 -04:00
PThorpe92
58e1d5a4f8
Add additional test vtable extension for querying core
2025-05-24 14:49:58 -04:00
PThorpe92
cbd7245677
Update Vtable open method to accept core db connection
2025-05-24 14:49:58 -04:00
Piotr Rzysko
9c1dca72db
Introduce VTable
...
This allows storing table arguments parsed in the VTabModule::create
method.
2025-05-21 08:33:17 +02:00
Piotr Rzysko
ea0ec6a216
Remove VTabModule methods delegating directly to VTabCursor
2025-05-21 08:29:20 +02:00
PThorpe92
95a2fdc096
Fix array from ptr in bestindex ffi method in proc macro
2025-04-17 14:01:45 -04:00
PThorpe92
528a9b6c7e
Clean up allocations in main loop and fix ext tests
2025-04-17 14:01:44 -04:00
PThorpe92
de27c2fe4c
Properly handle pushing predicates for query optimization from xBestIndex
2025-04-17 14:01:37 -04:00
PThorpe92
853af16946
Implement xBestIndex for virtual table api to improve query planning
2025-04-17 13:53:27 -04:00
pedrocarlo
6249cd67e9
added print statement to test that VDestroy is being called
2025-04-13 17:10:43 -03:00
PThorpe92
2d7a27fbfa
Prevent panic in extension by out of bounds cursor idx
2025-04-09 11:06:40 -04:00
Pekka Enberg
4142f4f4cb
Merge 'Organize extension library and feature gate VFS' from Preston Thorpe
...
I keep having 3+ PR's in at the same time and always deal with crazy
conflicts because everything in the `ext` library is together in one
file.
This PR moves each category of extension into its own file, and
separates the `vfs` functionality in Core into the `ext/dynamic` module,
so that it can be more easily separated from wasm (or non feature =
"fs") targets to prevent build issues.
The only semantic changes made in this PR is the feature gating of vfs,
the rest is simply organizing and cleaning up imports.
Was unsure if `vfs` should be a feature on the `core` side too, or to
just enable it with the `fs` feature which seemed reasonable, as that
was already the current behavior. But let me know if we want it entirely
behind it's own feature.
Reviewed-by: Pere Diaz Bou <pere-altea@homail.com >
Closes #1124
2025-03-19 19:08:13 +02:00
Pekka Enberg
52b546ff64
Add limbo_ext_tests to crates
2025-03-19 19:00:12 +02:00
PThorpe92
57d4aa7216
Reorganize ext library and feature gate vfs to more easily prevent wasm build issues
2025-03-19 10:17:11 -04:00
PThorpe92
b306cd416d
Add debug logging to testing vfs extension
2025-03-12 21:52:52 -04:00
PThorpe92
2cc72ed9ab
Feature flag vfs for fs feature/prevent wasm
2025-03-12 21:52:51 -04:00
PThorpe92
35fc9df275
Rename and combine testing extension crate
2025-03-12 21:52:51 -04:00