Commit Graph

  • d893a55c55 UNION Jussi Saurio 2025-05-21 13:29:05 +03:00
  • 75cab791b7 Merge 'Refactor: add stable internal_id property to TableReference' from Jussi Saurio Jussi Saurio 2025-05-25 21:21:22 +03:00
  • 1ff454853b bind/js: Add close metho to Database Diego Reis 2025-05-25 14:47:04 -03:00
  • f1018d97a4 bind/js: Add source attribute to Statement Diego Reis 2025-05-25 14:43:58 -03:00
  • 72d82abb80 Add PThorpe92 to codeowners file for extensions + go bindings PThorpe92 2025-05-25 13:29:05 -04:00
  • 7c07c09300 Add stable internal_id property to TableReference Jussi Saurio 2025-05-23 10:24:33 +03:00
  • b7d2173e99 Merge 'Fix off-by-one error in max_frame after WAL load' from Jussi Saurio Jussi Saurio 2025-05-25 20:25:50 +03:00
  • b5ac095716 Fix off-by-one error in max_frame after WAL load Jussi Saurio 2025-05-25 19:34:51 +03:00
  • 376adbb10a bind/js: Add support to variadic functions Diego Reis 2025-05-22 15:20:26 -03:00
  • e463def54d wip: first wrapper version Diego Reis 2025-05-21 11:38:06 -03:00
  • f388bc571e Merge 'xConnect for virtual tables to query core db connection' from Preston Thorpe Jussi Saurio 2025-05-25 14:37:38 +03:00
  • 621ae60ab5 Merge 'Reconstruct WAL frame cache when WAL is opened' from Jussi Saurio Jussi Saurio 2025-05-25 14:35:47 +03:00
  • 385c0d8987 clippy stfu part 2: electric boogaloo Jussi Saurio 2025-05-25 10:32:23 +03:00
  • 2df01f0b6f clippy stfu Jussi Saurio 2025-05-25 10:29:30 +03:00
  • 6254246541 use tempfile in test Jussi Saurio 2025-05-25 10:25:52 +03:00
  • 64ef3f1343 simplify condition Jussi Saurio 2025-05-25 10:22:46 +03:00
  • 20e65c0125 bump max_loops to 100k Jussi Saurio 2025-05-25 10:21:41 +03:00
  • a91f8aee78 Merge 'set non-shared cache by default' from Pere Diaz Bou Pere Diaz Bou 2025-05-25 08:50:21 +02:00
  • 954df3f837 Fix csv test assertion PThorpe92 2025-05-24 17:33:01 -04:00
  • 98e1c0ddd4 Remove unused method for converting from ext type without ownership PThorpe92 2025-05-24 17:22:12 -04:00
  • e53e30e06d Fix tests in csv extension to adapt to new API PThorpe92 2025-05-24 17:16:45 -04:00
  • ef28906be3 Update extensions README with example for xConnect PThorpe92 2025-05-24 17:10:26 -04:00
  • cf163f2dc0 Prevent double free in ext connection PThorpe92 2025-05-24 16:49:52 -04:00
  • 1cacbf1f0d Close statements in extension tests, and use mut pointers for stmt PThorpe92 2025-05-24 16:45:25 -04:00
  • d63f9d8cff Make sure all resources are cleaned up properly in xconnect PThorpe92 2025-05-24 16:38:33 -04:00
  • a4ed464ec4 Add some traces for errors in xconnect PThorpe92 2025-05-24 15:44:06 -04:00
  • 0decafbbc1 Use transparent struct in public api wrapper for vtab connect PThorpe92 2025-05-24 15:32:14 -04:00
  • 2e4343402e Add null checks to prevent double frees in vtab connections PThorpe92 2025-05-24 15:20:09 -04:00
  • 999205f896 Add documentation for connection api PThorpe92 2025-05-24 15:19:37 -04:00
  • 09df7e0c48 Merge 'TPC-H with criterion and nyrkio' from Pedro Muniz Jussi Saurio 2025-05-24 21:54:48 +03:00
  • c5d364064a Add python tests for xConnect behavior and testing extension PThorpe92 2025-05-24 14:49:25 -04:00
  • 687edefcdf Add option to py tests to create temporary db with clone of testing.db PThorpe92 2025-05-24 14:48:56 -04:00
  • faa12987b4 Add test case to table stats extension PThorpe92 2025-05-24 14:48:27 -04:00
  • 4142d813c0 Change method name to bind_at to better reflect args in ext Statement PThorpe92 2025-05-24 14:47:47 -04:00
  • a2f8b2dfea Fix add check for invalid argv index for vtab constraints in main loop PThorpe92 2025-05-24 14:46:34 -04:00
  • 58e1d5a4f8 Add additional test vtable extension for querying core PThorpe92 2025-05-24 13:51:30 -04:00
  • d11ef6b9c5 Add execute method to xConnect db interface for vtables PThorpe92 2025-05-24 13:51:10 -04:00
  • c2ec6caae1 Finish integrating xConnect into vtable open api PThorpe92 2025-05-23 23:18:09 -04:00
  • cbd7245677 Update Vtable open method to accept core db connection PThorpe92 2025-05-23 23:09:45 -04:00
  • 2c784070f1 Impl Default for ext Value PThorpe92 2025-05-23 23:07:42 -04:00
  • f61ccc78e8 Add from_ffi_ptr method to create OwnedValue from Ext type without taking ownership PThorpe92 2025-05-23 23:06:52 -04:00
  • d51614a4fd Create extern functions to support vtab xConnect in core/ext PThorpe92 2025-05-23 19:59:47 -04:00
  • 208639c5ee clippy Jussi Saurio 2025-05-24 21:01:13 +03:00
  • 67359dc17b Add another persistence test and also assert that the data was in the WAL, not the main db Jussi Saurio 2025-05-24 20:44:25 +03:00
  • 1baa9c7038 Add regression test for being able to read WAL from disk Jussi Saurio 2025-05-24 18:33:20 +03:00
  • fc45e0ec0d Reconstruct WAL frame cache when WAL is opened Jussi Saurio 2025-05-24 18:09:01 +03:00
  • 02e7726249 Merge 'UNION ALL' from Jussi Saurio Jussi Saurio 2025-05-24 13:41:57 +03:00
  • 8ed5334ca7 tests/fuzz: add compound_select_fuzz() Jussi Saurio 2025-05-24 12:46:04 +03:00
  • f6443ae742 Support LIMIT with UNION ALL Jussi Saurio 2025-05-22 11:40:10 +03:00
  • 08bda9cc58 UNION ALL Jussi Saurio 2025-05-20 21:21:50 +03:00
  • 54b1647148 set non-shared cache by default Pere Diaz Bou 2025-05-24 11:59:54 +02:00
  • 0b2c3298aa Merge 'refactor: introduce walk_expr() and walk_expr_mut() to reduce repetitive pattern matching' from Jussi Saurio Jussi Saurio 2025-05-23 22:00:20 +03:00
  • 70433e100d Merge 'btree: fix infinite looping in backwards iteration of btree table' from Jussi Saurio Jussi Saurio 2025-05-23 21:46:16 +03:00
  • 1c4af7d0aa change sample count to 10 pedrocarlo 2025-05-23 11:32:28 -03:00
  • 2e095e6d03 Merge 'Add some comments for values statement' from meteorgan Jussi Saurio 2025-05-23 17:30:30 +03:00
  • 3bf0ce7fb3 Add some comments for values statement meteorgan 2025-05-23 22:11:34 +08:00
  • 2ea7321e63 Merge 'fix bindings/wasm wal file creation by implementing generate_random_number' from 오웬 Jussi Saurio 2025-05-23 17:02:05 +03:00
  • 1a937462b3 Merge 'core/pragma: Add support for update user_version' from Diego Reis Jussi Saurio 2025-05-23 17:00:55 +03:00
  • c18c6a00fa refactor: use walk_expr() in resolving vtab constraints Jussi Saurio 2025-05-23 16:20:13 +03:00
  • fbfd2b2c38 refactor: use walk_expr_mut() in rewrite_expr() Jussi Saurio 2025-05-23 16:09:27 +03:00
  • 362347c474 refactor: use walk_expr() in determine_where_to_eval_expr() Jussi Saurio 2025-05-23 16:04:46 +03:00
  • 9ec84e3905 refactor: use walk_expr() in table_mask_from_expr() Jussi Saurio 2025-05-23 16:03:40 +03:00
  • 3835a29f47 refactor: use walk_expr() in resolve_aggregates() Jussi Saurio 2025-05-23 16:01:35 +03:00
  • 2ab5c5f6a9 refactor: use walk_expr_mut() in bind_column_references() Jussi Saurio 2025-05-23 15:56:49 +03:00
  • 40a4d162bc Introduce walker expressions for ast::Expr Jussi Saurio 2025-05-23 15:48:33 +03:00
  • 2d6405b3e9 core/pragma: Remove unnecessary clone in user_version and cache_size Diego Reis 2025-05-23 08:43:07 -03:00
  • 517c795f15 Add another test Jussi Saurio 2025-05-23 14:33:55 +03:00
  • cbb3efab82 Fuzz: modify rowid_seek_fuzz so that it catches this regression in the future Jussi Saurio 2025-05-23 14:28:25 +03:00
  • cbb56a182e Fix bug: backwards iteration of table btree hangs Jussi Saurio 2025-05-23 14:23:18 +03:00
  • 597020bc0c Merge 'Support values statement and values in select' from meteorgan Jussi Saurio 2025-05-23 13:56:31 +03:00
  • 01c8a4ca63 simpify values when it's subquery meteorgan 2025-05-23 17:45:56 +08:00
  • 128a406f8c TableReference: fix stale comment Jussi Saurio 2025-05-23 10:06:24 +03:00
  • 89a727022a Merge 'Drop Table OpCodes Use Ephemeral Table As Scratch Table' from Zaid Humayun Jussi Saurio 2025-05-23 09:46:30 +03:00
  • bc5d93c18a Addresses comment https://github.com/tursodatabase/limbo/pull/1548#discussion_r2103333264 by @jussisaurio Zaid Humayun 2025-05-23 10:19:08 +05:30
  • 66f82e47f5 tpc-h with criterion and nyrkio pedrocarlo 2025-05-22 23:51:48 -03:00
  • bfe4f5acef pragma/user_version: Add test and update docs Diego Reis 2025-05-22 20:42:08 -03:00
  • 2f8042da22 core/pragma: Add support for update user_version Diego Reis 2025-05-22 20:38:27 -03:00
  • 4312d371fb addresses comment https://github.com/tursodatabase/limbo/pull/1548#discussion_r2102606810 by @jussisaurio Zaid Humayun 2025-05-23 00:46:05 +05:30
  • 780d0cb5a8 addresses https://github.com/tursodatabase/limbo/pull/1548#discussion_r2102599487, https://github.com/tursodatabase/limbo/pull/1548#discussion_r2102601189 & https://github.com/tursodatabase/limbo/pull/1548#discussion_r2102602774 by @jussisaurio Zaid Humayun 2025-05-23 00:31:19 +05:30
  • 3a8b18c481 addressed comment https://github.com/tursodatabase/limbo/pull/1548#discussion_r2102595246 by @jussisaurio Zaid Humayun 2025-05-23 00:12:27 +05:30
  • 1999eac891 Fixes test Testing: can drop kv_store vtable Zaid Humayun 2025-05-22 23:53:48 +05:30
  • 34e05ef974 make values work in subquery meteorgan 2025-05-23 00:24:00 +08:00
  • 0467d7e11b Support values statement and values in select meteorgan 2025-05-22 00:46:18 +08:00
  • 4072a41c9c Drop Table now uses an ephemeral table as a scratch table Zaid Humayun 2025-05-21 20:23:43 +05:30
  • 0c4c451d2a rename Jussi Saurio 2025-05-22 12:49:36 +03:00
  • 6ed5412bde extract method Jussi Saurio 2025-05-22 12:47:57 +03:00
  • df8a19767f Fixes to account for collation Jussi Saurio 2025-05-20 12:51:08 +03:00
  • afc94cd3be Add basic select distinct TCL test Jussi Saurio 2025-05-18 12:51:52 +03:00
  • f3ea9a603a add support for SELECT DISTINCT Jussi Saurio 2025-05-18 11:43:00 +03:00
  • b0c3483e94 Allocate ephemeral index for SELECT DISTINCT Jussi Saurio 2025-05-18 11:28:30 +03:00
  • 76227ec274 Rename to Distinctness + add distinctness information to SelectPlan Jussi Saurio 2025-05-18 11:18:22 +03:00
  • c31f2b10b7 fix: implement generate_random_number for wasm binding Owen Delahoy 2025-05-22 20:11:26 +09:00
  • 268b30deee Merge 'sqlite3-parser: Remove scanner trace-logging' from Pekka Enberg Pekka Enberg 2025-05-22 13:02:49 +03:00
  • 9f5904d4df cargo fmt Pekka Enberg 2025-05-22 13:02:30 +03:00
  • 5a9aa5a119 Merge 'sqlite3: Switch to tracing logger' from Pekka Enberg Pekka Enberg 2025-05-22 13:02:24 +03:00
  • 5ed187ba61 sqlite3-parser: Remove scanner trace-logging Pekka Enberg 2025-05-22 11:54:29 +03:00
  • 7d471889eb sqlite3: Switch to tracing logger Pekka Enberg 2025-05-22 11:46:31 +03:00
  • c1e31b0213 Merge 'Fix labeler labeling everything as Extensions-Other' from Jussi Saurio Jussi Saurio 2025-05-22 12:20:20 +03:00
  • e398755667 Merge 'Fix bug in op_decr_jump_zero()' from Jussi Saurio Jussi Saurio 2025-05-22 12:20:02 +03:00
  • 4c67bdd266 Fix labeler labeling everything as Extensions-Other Jussi Saurio 2025-05-22 12:03:28 +03:00