Commit Graph

  • a6e32c95d7 Merge 'Support UPDATE for virtual tables' from Preston Thorpe Pekka Enberg 2025-04-09 18:21:10 +03:00
  • f223e66c82 Remove unused mut and fix merge conflict issues PThorpe92 2025-04-04 07:29:16 -04:00
  • 13ae19c78c Remove unnecessary clones from mc cursors PThorpe92 2025-04-04 07:08:01 -04:00
  • 62d1447cd6 Adapt query plan to handle vatbs for updates PThorpe92 2025-04-02 23:48:14 -04:00
  • 0ffecb3021 Add comments to document update on vtabs PThorpe92 2025-03-25 10:47:05 -04:00
  • 7993857020 Add py tests for vtab update behavior PThorpe92 2025-03-24 22:29:26 -04:00
  • b685086cad Support UPDATE for virtual tables PThorpe92 2025-03-24 22:14:48 -04:00
  • 2d7a27fbfa Prevent panic in extension by out of bounds cursor idx PThorpe92 2025-03-24 22:03:32 -04:00
  • 0336783831 Merge 'Add .timer command to print SQL execution statistics' from Pere Diaz Bou Pekka Enberg 2025-04-09 17:58:48 +03:00
  • 2316d7ebf1 add .timer command with fine grained statistics about limbo Pere Diaz Bou 2025-04-09 16:31:08 +02:00
  • ddc5e49451 Merge 'Index insert fixes' from Pere Diaz Bou Pekka Enberg 2025-04-09 17:21:53 +03:00
  • 5de2d91d04 Update COMPAT.md Pekka Enberg 2025-04-09 17:07:24 +03:00
  • dbb346ba28 Update COMPAT.md Pekka Enberg 2025-04-09 17:03:53 +03:00
  • 3b98675aa0 Update COMPAT.md Pekka Enberg 2025-04-09 17:02:25 +03:00
  • 6a02730c1a rebase fixes Pere Diaz Bou 2025-04-09 15:56:04 +02:00
  • a4d9f70ef8 Merge 'Strict table support' from Ihor Andrianov Pekka Enberg 2025-04-09 16:45:56 +03:00
  • 3025b71406 Merge 'Memory tests to track large blob insertions' from Pedro Muniz Pekka Enberg 2025-04-09 16:45:06 +03:00
  • 7b384f8e5c set iteration_state for insert Pere Diaz Bou 2025-04-09 15:29:06 +02:00
  • e67f56bb3d Merge 'Setup tracing to allow output during test runs' from Preston Thorpe Pekka Enberg 2025-04-09 16:16:26 +03:00
  • 6b7575bf3f fix tree traversal assumptions on traversal Pere Diaz Bou 2025-04-09 15:03:23 +02:00
  • f2d9e1e8f5 fix divider cell in index Pere Diaz Bou 2025-04-09 15:02:24 +02:00
  • 12899034c9 make insert idx re-entrant Pere Diaz Bou 2025-04-09 15:01:40 +02:00
  • d9453f6e06 fix cell_get_raw_region length calculation Pere Diaz Bou 2025-04-09 15:01:18 +02:00
  • 0f59fc7e36 Merge 'Decrease page count on balancing fixes' from Pere Diaz Bou Pere Diaz Bou 2025-04-09 15:04:25 +02:00
  • f1df09ffd9 free no longer used pages after balance Pere Diaz Bou 2025-04-09 11:05:41 +02:00
  • aa6e2d853a Merge 'Support backwards index scan and seeks + utilize indexes in removing ORDER BY' from Jussi Saurio Jussi Saurio 2025-04-09 12:03:14 +03:00
  • edc3a420fb comment how page count is decreased while balancing Pere Diaz Bou 2025-04-09 11:02:49 +02:00
  • 0888c71ba0 use seek() instead of do_seek() to set iteration state Jussi Saurio 2025-04-09 10:26:02 +03:00
  • 7435d005db Merge ' allow insertion of multiple overflow cells ' from Pere Diaz Bou Jussi Saurio 2025-04-09 10:17:36 +03:00
  • 5e3a37a192 Try to name iteration direction sensitive method better Jussi Saurio 2025-04-08 17:25:07 +03:00
  • 3124fca5b7 Dereference instead of explicit clone Jussi Saurio 2025-04-08 17:15:57 +03:00
  • 0bb87b060a Fix existing table btree backwards iteration logic Jussi Saurio 2025-04-08 17:05:52 +03:00
  • d9bae633c0 Add rowid_seek_fuzz() test Jussi Saurio 2025-04-08 14:59:39 +03:00
  • f5220d281d Fix off-by-one logic in btree table traversal Jussi Saurio 2025-04-08 14:57:26 +03:00
  • fa295af635 Fix insert fuzz test by bypassing internal invariant Jussi Saurio 2025-04-08 11:05:30 +03:00
  • 024c63f808 optimizer: remove ORDER BY if index can be used to satisfy the order Jussi Saurio 2025-04-08 10:33:01 +03:00
  • a706b7160a planner: support index backwards seeks and iteration Jussi Saurio 2025-04-08 10:32:31 +03:00
  • c9190236f0 btree: support backwards index seeks and iteration Jussi Saurio 2025-04-08 10:31:05 +03:00
  • 3e42a62cd0 Add SeekLE/SeekLT operations to VDBE Jussi Saurio 2025-04-08 10:19:38 +03:00
  • 431ef2fa6a Add TCL/differential fuzz tests for verifying index scan behavior Jussi Saurio 2025-04-08 10:15:06 +03:00
  • ed929d2a0a Merge 'Properly handle insertion of indexed columns' from Preston Thorpe Jussi Saurio 2025-04-09 10:13:59 +03:00
  • 08b352cd81 Merge 'VTabs: Proper handling of re-opened db files without the relevant extensions loaded' from Preston Thorpe Jussi Saurio 2025-04-09 09:36:26 +03:00
  • 9b1e60a29c Fix typo in ext library lock err message PThorpe92 2025-04-08 20:09:12 -04:00
  • 41ac91f14f Add tests for parsing vtab creation sql in ParseSchema PThorpe92 2025-04-04 09:55:43 -04:00
  • 3a7f1e4056 Add comments explaining flow of reloading vtabs from schema tbl PThorpe92 2025-04-03 20:57:59 -04:00
  • 6b5ec1f07b Remove mut borrow from sym table in parse schema fn PThorpe92 2025-04-03 20:55:59 -04:00
  • a0f71e27be Fix cli tests PThorpe92 2025-04-03 14:04:28 -04:00
  • c15035caf8 Add module and vtab to schema after table is reopened with proper ext PThorpe92 2025-04-03 14:03:54 -04:00
  • 4b9b6c969b Parse schema rows after extensions are loaded PThorpe92 2025-04-03 09:17:06 -04:00
  • 3ad7d194cb Prevent panic on loading non-existent vtab module PThorpe92 2025-04-03 08:38:48 -04:00
  • 4b3c14369d Add testing.md document PThorpe92 2025-04-08 19:36:58 -04:00
  • 01184ec1d7 Add tracing-appender to log traces to file asyncronously PThorpe92 2025-04-08 19:36:38 -04:00
  • 570253b29f Adjust limbo run script to log to file during tests if RUST_LOG set PThorpe92 2025-04-08 19:32:51 -04:00
  • 2af447128f Add tracing log file to gitignore PThorpe92 2025-04-08 19:32:03 -04:00
  • c2411dbd64 Merge branch 'main' of https://github.com/tursodatabase/limbo alpaylan 2025-04-08 17:48:20 -04:00
  • 64c2917e81 add bug base, refactor alpaylan 2025-04-08 17:48:16 -04:00
  • ce7e0188f6 bring back i64 page sizes while balancing Pere Diaz Bou 2025-04-08 17:57:39 +02:00
  • cf62099bf5 allow insertion of multiple overflow cells Pere Diaz Bou 2025-04-08 11:03:49 +02:00
  • 029da5c81c Improve readability of balance_non_root with comments and validation extraction Pere Diaz Bou 2025-04-08 11:03:30 +02:00
  • e368cd1499 Merge 'Account divider cell in size while distributing cells' from Pere Diaz Bou Pere Diaz Bou 2025-04-08 16:42:16 +02:00
  • 0ec12b0192 Merge 'Format infinite float as "Inf"/"-Inf"' from jachewz Pekka Enberg 2025-04-08 16:52:36 +03:00
  • 12ae07874e fmt inf float str as "Inf"/"-Inf" jachewz 2025-04-08 23:23:08 +10:00
  • 224f913ae7 Handle composite key indexes on insert PThorpe92 2025-04-07 10:13:49 -04:00
  • 878c987026 Remove is_null check from create index translation PThorpe92 2025-04-05 20:38:23 -04:00
  • 1f29307fe8 Support proper index handling when doing insertions PThorpe92 2025-04-05 16:12:59 -04:00
  • fded6ccaf3 rever iterations fuzz test Pere Diaz Bou 2025-04-08 14:09:17 +02:00
  • c0c66bf8af remove wrong comment Pere Diaz Bou 2025-04-08 14:06:48 +02:00
  • 8c4003908f bring back usize, it shouldn't underflow Pere Diaz Bou 2025-04-08 14:04:51 +02:00
  • 40f8bbe132 clippy Pere Diaz Bou 2025-04-08 11:05:40 +02:00
  • 8e88b0cd14 new_page_sizes as Vec<i64> Pere Diaz Bou 2025-04-07 22:17:11 +02:00
  • 3950ab1e52 account for divider cell size in page size Pere Diaz Bou 2025-04-07 22:16:50 +02:00
  • f7de575873 Merge 'update sqlite download version to 2025 + remove www.' from Pere Diaz Bou Pere Diaz Bou 2025-04-08 11:30:53 +02:00
  • b83b51e973 remove www. prefix Pere Diaz Bou 2025-04-08 11:16:32 +02:00
  • 03f531417c update sqlite download version to 2025 Pere Diaz Bou 2025-04-08 11:12:20 +02:00
  • ad91a2ae51 fix tests Ihor Andrianov 2025-04-07 20:29:45 +03:00
  • 7c15465118 add TypeCheck insn to update Ihor Andrianov 2025-04-07 19:54:25 +03:00
  • 3a97fd075f add tests Ihor Andrianov 2025-04-07 19:53:49 +03:00
  • 4a08b98bab implemented strict table Ihor Andrianov 2025-04-02 16:13:15 +03:00
  • 33afc7cef3 Merge 'Improve validation of btree balancing' from Pere Diaz Bou Pekka Enberg 2025-04-07 19:35:00 +03:00
  • 6086284613 fix debug imports Pere Diaz Bou 2025-04-07 18:06:52 +02:00
  • 83f13596a4 decrease fuzz test steps again Pere Diaz Bou 2025-04-07 17:59:01 +02:00
  • f137ddfdf8 add loop left pointer validation Pere Diaz Bou 2025-04-07 17:55:50 +02:00
  • 6ac2368ae2 update divider cell that is being balanced Pere Diaz Bou 2025-04-07 17:53:06 +02:00
  • 0541da46df add strict btree validation after non root balancing in debug mode Pere Diaz Bou 2025-04-05 23:45:35 +02:00
  • ff8ec5455c fix divider cell selection Pere Diaz Bou 2025-04-05 23:45:18 +02:00
  • 9eb9e7021e Fix index table new divider cell pointer Pere Diaz Bou 2025-04-04 15:52:35 +02:00
  • f4920cb96b assert new divider cell points to the correct place Pere Diaz Bou 2025-04-04 15:52:17 +02:00
  • 15ed7642c9 check all keys are present on every insert with fuzz test Pere Diaz Bou 2025-04-04 15:51:52 +02:00
  • 96ed7c5982 Merge 'Remainder fixes' from jachewz Pekka Enberg 2025-04-07 17:22:15 +03:00
  • ebf467d04e rename math.test % operator tests from mod- to remainder- jachewz 2025-04-07 21:58:03 +10:00
  • db15661b7e fix: i64 % -1 overflow panic jachewz 2025-04-07 21:49:09 +10:00
  • a72b75e193 fix: remainder operator rhs text jachewz 2025-04-07 21:45:49 +10:00
  • 3a1b87eb21 Update README.md Pekka Enberg 2025-04-07 09:02:55 +03:00
  • 4ca8efac0d Merge 'Added 'Likely' Scalar Function' from Duncan Lutz Pekka Enberg 2025-04-07 08:52:38 +03:00
  • aa7c64cb19 feat: added likely scalar function Duncan Lutz 2025-04-06 23:14:30 -06:00
  • 6eb89ca2a1 Merge 'Add deterministic Clock' from Avinash Sajjanshetty Pekka Enberg 2025-04-06 23:27:36 +03:00
  • 3543e83b91 Impl Clock trait in bindings Avinash Sajjanshetty 2025-04-06 23:09:00 +05:30
  • 2873c36b31 Implement trait Clock for implemented IOs Avinash Sajjanshetty 2025-04-06 23:07:40 +05:30
  • 8d6d50d9d5 Update IO trait Avinash Sajjanshetty 2025-04-06 23:05:31 +05:30
  • 02ee2cf90e Add Clock trait Avinash Sajjanshetty 2025-04-06 23:02:41 +05:30