Commit Graph

  • c6a87d61c7 emit CDC entries if necessary for schema changes Nikita Sivukhin 2025-08-04 13:57:23 +04:00
  • 0b4c1ac802 refactor code a little bit Nikita Sivukhin 2025-08-04 13:16:50 +04:00
  • 53a0524050 Fix clippy warning PThorpe92 2025-08-05 16:16:23 -04:00
  • f6a68cffc2 Remove RefCell from IO and Page apis PThorpe92 2025-08-05 15:58:21 -04:00
  • 01531be9f4 Merge 'Remove Clone impl for Buffer and PageContent' from Preston Thorpe Preston Thorpe 2025-08-05 16:17:13 -04:00
  • d1be7ad0bb implement the collseq bytecode instruction Glauber Costa 2025-08-02 17:41:53 -05:00
  • 6a66053ca8 make sure value comparisons for min and max are collation aware Glauber Costa 2025-08-05 13:38:58 -05:00
  • 914c10e095 Remove Clone impl for Buffer and PageContent PThorpe92 2025-08-05 14:26:53 -04:00
  • eff096273c update compat.md bit-aloo 2025-08-05 20:54:55 +05:30
  • e92fdfca9f refactir regexp replace bit-aloo 2025-08-05 20:53:24 +05:30
  • db17a195f3 refactor regexp capture bit-aloo 2025-08-05 20:48:47 +05:30
  • b26a58f652 update extension.py with regexp_replace test bit-aloo 2025-08-05 20:36:09 +05:30
  • 20d4da7054 register regexp_capture with register_extension bit-aloo 2025-08-05 20:19:48 +05:30
  • 0fcb302d8f add regexp_capture bit-aloo 2025-08-05 20:18:14 +05:30
  • 9492a29d47 Merge 'Fix performance regression' from Jussi Saurio Pekka Enberg 2025-08-05 16:30:18 +03:00
  • cde8567b1d Merge 'More state machine + Return IO in places where completions are created' from Pedro Muniz Jussi Saurio 2025-08-05 15:47:51 +03:00
  • d13a1a0eec Merge 'test/fuzz: add ALTER TABLE column ops to tx isolation fuzz test' from Jussi Saurio Jussi Saurio 2025-08-05 15:42:31 +03:00
  • 49123db6e8 Merge 'core/mvcc: implement exists' from Pere Diaz Bou Pekka Enberg 2025-08-05 15:34:23 +03:00
  • 9f820ae4c7 Merge 'cleanup: remove unused page uptodate flag' from Jussi Saurio Jussi Saurio 2025-08-05 15:26:41 +03:00
  • 1feb5ba2d3 perf/vdbe: avoid doing work in commit_txn if not in txn Jussi Saurio 2025-08-05 11:11:00 +03:00
  • 3f633247f7 perf/stmt: avoid checking for SchemaUpdated errors if it's impossible Jussi Saurio 2025-08-05 11:10:39 +03:00
  • c498196c7b fix/perf: fix regression in SELECT 1 benchmark Jussi Saurio 2025-08-05 10:43:49 +03:00
  • 474f0d8bbc core/mvcc: implement exists Pere Diaz Bou 2025-08-05 13:29:13 +02:00
  • a28e64bfdd cleanup: remove unused page uptodate flag Jussi Saurio 2025-08-05 14:25:42 +03:00
  • 34fdec82b9 finish SELECT without tests TcMits 2025-08-05 18:20:38 +07:00
  • a3cf3051d7 Merge 'tests/fuzz_transactions: add tests for fuzzing transactions with MVCC' from Pere Diaz Bou Pere Diaz Bou 2025-08-05 13:18:57 +02:00
  • d2fea25fef Merge 'perf/btree: implement fast algorithm for defragment_page' from Jussi Saurio Pekka Enberg 2025-08-05 12:44:48 +03:00
  • aa20c2f1ba Merge 'Relax I/O configuration attribute to cover all Unixes' from Pedro Muniz Pekka Enberg 2025-08-05 12:44:34 +03:00
  • 2a3e2349ca tests/fuzz_transactions: add tests for fuzzing transactions with MVCC Pere Diaz Bou 2025-08-05 11:43:05 +02:00
  • a972b81a39 Merge 'bindings/rust: add with_mvcc option, open with path too!' from Pere Diaz Bou Pekka Enberg 2025-08-05 12:42:30 +03:00
  • e355fc4c65 Merge 'core/mvcc: implement seeking operations with rowid' from Pere Diaz Bou Pekka Enberg 2025-08-05 12:40:48 +03:00
  • d9fd56c31f Merge 'bindings/rust: add with_mvcc option' from Pere Diaz Bou Pekka Enberg 2025-08-05 12:40:34 +03:00
  • 2392ea1b55 bindings/rust: add with_mvcc option Pere Diaz Bou 2025-08-05 11:27:37 +02:00
  • e5fc08317a bindings/rust: add with_mvcc option Pere Diaz Bou 2025-08-05 11:27:37 +02:00
  • ad35cf07eb Add extra illustrative doodle for pere Jussi Saurio 2025-08-04 17:40:41 +03:00
  • a5330aa6fb perf/btree: implement fast algorithm for defragment_page Jussi Saurio 2025-08-02 15:36:43 +03:00
  • 5b84ad6b0f Merge 'Update defragment page to defragment in-place' from João Severo Jussi Saurio 2025-08-05 11:22:22 +03:00
  • cd79d2dce5 test/fuzz: add ALTER TABLE column ops to tx isolation fuzz test Jussi Saurio 2025-08-04 13:00:10 +03:00
  • 685615dc98 test/fuzz/txn: remove assumption about hardcoded column count Jussi Saurio 2025-08-04 13:00:10 +03:00
  • c9c5565867 Merge 'Integrate virtual tables with optimizer' from Piotr Rżysko Jussi Saurio 2025-08-05 09:22:08 +03:00
  • aa8d17cbf1 state machine for ptrmap_get pedrocarlo 2025-08-04 23:30:03 -03:00
  • 59ec2d3949 Replace ConstraintInfo::plan_info with ConstraintInfo::index Piotr Rzysko 2025-08-03 16:06:02 +02:00
  • 8fb4fbf8af Make WhereTerm::consumed a plain bool Piotr Rzysko 2025-08-03 12:24:30 +02:00
  • 99f87c07c1 Support column references in table-valued function arguments Piotr Rzysko 2025-08-03 09:46:02 +02:00
  • 82491ceb6a Integrate virtual tables with optimizer Piotr Rzysko 2025-08-03 09:50:02 +02:00
  • 0ac040cc87 return IO in some other functions in Pager pedrocarlo 2025-08-04 23:20:35 -03:00
  • a4a2425ffd return IO in places where completions are created pedrocarlo 2025-08-04 23:06:36 -03:00
  • a66b56678d Merge 'Reprepare Statements when Schema changes' from Pedro Muniz Jussi Saurio 2025-08-05 00:01:14 +03:00
  • 1e59165ea6 Merge 'More State Machines in preparation for tracking IO Completions' from Pedro Muniz Jussi Saurio 2025-08-05 00:00:09 +03:00
  • 4cf02dfd14 Merge 'coalesce any adjacent buffers from writev calls into fewer iovecs' from Preston Thorpe Jussi Saurio 2025-08-04 23:54:57 +03:00
  • 13219dbf87 Merge 'extend raw WAL API with few more methods' from Nikita Sivukhin Jussi Saurio 2025-08-04 23:53:46 +03:00
  • 2a3fa0955f Attempt to coalesce contiguous iovecs during pwritev operation for unix IO PThorpe92 2025-08-04 16:18:19 -04:00
  • b76ef20f4c Attempt to coalesce contiguous iovecs during pwritev operation for io_uring PThorpe92 2025-08-04 16:18:05 -04:00
  • 3835ad76c3 Merge 'Add bitmap to track pages in arenas' from Preston Thorpe Preston Thorpe 2025-08-04 15:26:51 -04:00
  • 6cbc8ff868 Replace values with constants PThorpe92 2025-08-04 15:03:24 -04:00
  • 7bf35bcaf4 remove rexpect crate pedrocarlo 2025-08-04 15:58:49 -03:00
  • 73d1fdef14 Fix and change bitmap, apply suggestions and add some optimizations PThorpe92 2025-08-04 14:55:37 -04:00
  • f4197f1eb5 change debug assertions to turso asserts PThorpe92 2025-08-03 23:00:11 -04:00
  • 54696d2f0d Add additional test for edge cases PThorpe92 2025-08-03 22:48:23 -04:00
  • 5378195ad6 Add page bitmap to storage mod.rs PThorpe92 2025-08-03 19:50:31 -04:00
  • 3e30335ea5 Add tests for PageBitmap PThorpe92 2025-08-03 19:50:07 -04:00
  • 7b1f908c00 Add PageBitmap for use with arena page allocator PThorpe92 2025-08-03 19:49:28 -04:00
  • ebe6aa0d28 adjust cfg for unix and linux IO pedrocarlo 2025-08-04 15:45:11 -03:00
  • f2d84a534c adjust clear_overflow_pages pedrocarlo 2025-08-04 15:10:44 -03:00
  • 521eb2368e Return error when no valid plan exists Piotr Rzysko 2025-08-03 09:38:50 +02:00
  • c80cd370cb Remove cost_upper_bound_ordered Piotr Rzysko 2025-08-01 08:24:16 +02:00
  • 718598eab8 Introduce scan type Piotr Rzysko 2025-08-02 06:50:23 +02:00
  • 9167b30c7c Introduce AccessMethodParams Piotr Rzysko 2025-08-02 10:13:13 +02:00
  • 4166735953 Return error when start argument is missing for generate_series Piotr Rzysko 2025-08-01 07:41:56 +02:00
  • 61234eeb19 Add ResultCode to best_index result Piotr Rzysko 2025-08-01 07:29:53 +02:00
  • 6a4cf02a90 Fix computation of argv_index in best_index Piotr Rzysko 2025-07-31 09:18:55 +02:00
  • c465ce6e7b Clarify semantics of argv_index Piotr Rzysko 2025-07-31 09:05:43 +02:00
  • b0460a589f Ensure argv_index is either None or >= 1 Piotr Rzysko 2025-07-31 08:11:01 +02:00
  • 79e166d722 Implement xBestIndex for kvstore.c Piotr Rzysko 2025-07-30 21:02:45 +02:00
  • c6f398122d Add validation for constraint usage length returned by best_index Piotr Rzysko 2025-07-30 20:28:24 +02:00
  • 718ad5e7fd btree_destroy retunrn IO pedrocarlo 2025-08-04 13:34:11 -03:00
  • e0978844e6 adjust integrity_check pedrocarlo 2025-08-04 13:30:54 -03:00
  • 443c177d13 fix test for windows Nikita Sivukhin 2025-08-04 21:00:29 +04:00
  • 7045d44fdc Merge 'fix/wal: remove start_pages_in_frames_hack to prevent checkpoint data loss' from Jussi Saurio Jussi Saurio 2025-08-04 19:49:55 +03:00
  • aa05616845 fix tests pedrocarlo 2025-08-04 13:01:08 -03:00
  • 5f52d9b6b4 state machine for count pedrocarlo 2025-08-02 01:44:00 -03:00
  • 1585d5cbee state machine for 'next' and prev pedrocarlo 2025-08-02 01:22:00 -03:00
  • f1df9a909e state machine for 'rewind' pedrocarlo 2025-08-02 01:06:07 -03:00
  • e9c3f0d55b disable schema reprepare for MVCC pedrocarlo 2025-07-31 18:50:42 -03:00
  • 0e3e64878c workaround the fact that to reparse schema we have to avoid falling into a reprepared statement loop pedrocarlo 2025-07-31 13:53:48 -03:00
  • 266a7e1c66 do not error in op_transaction if page 1 was not allocated pedrocarlo 2025-07-31 12:48:40 -03:00
  • f0ff85a43c add test pedrocarlo 2025-07-22 00:38:52 -03:00
  • 0779c23bbf fix merge conflicts pedrocarlo 2025-07-22 00:38:52 -03:00
  • d2019e95f3 pass schema to epilogue for schema_version checking + do not Pragma Schema Version in open_with_flags to avoid infinite loop in reprepare. Just access the database header directly pedrocarlo 2025-07-21 23:35:49 -03:00
  • 736748cdf7 Simplify program epilogue by tracking the transaction mode and rollback status in the ProgramBuilder and then calling epilogue just once pedrocarlo 2025-07-21 22:50:17 -03:00
  • c567636deb Adjust Transaction OpCode to accept schema cookie + check if cookie changed pedrocarlo 2025-07-21 22:27:42 -03:00
  • f8eb4ba14d implement reprepare for statements pedrocarlo 2025-07-21 20:51:42 -03:00
  • cffafb8333 remove Rc from Program pedrocarlo 2025-07-21 20:49:58 -03:00
  • 54636241c2 store Sql String inside Program for reprepare pedrocarlo 2025-07-21 19:16:16 -03:00
  • 94c25893ae add SchemaUpdated error variant pedrocarlo 2025-07-21 19:01:40 -03:00
  • 506bb5f67f Merge 'Direct schema mutation – add instruction' from Levy A. Jussi Saurio 2025-08-04 16:55:38 +03:00
  • 1813171b91 Merge 'Use pwrite for single buffer pwritev call in unix IO' from Preston Thorpe Jussi Saurio 2025-08-04 16:52:14 +03:00
  • 5a06411ce6 Merge 'fix/core/translate: ALTER TABLE DROP COLUMN: ensure schema cookie is updated even when target table is empty' from Jussi Saurio Jussi Saurio 2025-08-04 16:51:24 +03:00
  • 33b814054b fix tests for windows Nikita Sivukhin 2025-08-04 17:26:01 +04:00
  • f3079347e7 core/mvcc: op.eq_only Pere Diaz Bou 2025-08-04 15:27:59 +02:00