Commit Graph

  • 533a00eae3 Fix bug in op_decr_jump_zero() Jussi Saurio 2025-05-22 11:39:23 +03:00
  • 8bec75d804 Merge 'Initial Support for Nested Translation' from Pedro Muniz Jussi Saurio 2025-05-22 10:52:00 +03:00
  • c7f984c5c8 Merge 'Page cache fixes' from Pere Diaz Bou Jussi Saurio 2025-05-22 10:12:56 +03:00
  • fc150b12c9 Merge 'CSV virtual table extension' from Piotr Rżysko Jussi Saurio 2025-05-22 09:48:53 +03:00
  • 58bff43f1f Merge 'remove detection of comments in the middle of query in cli' from Pedro Muniz Jussi Saurio 2025-05-22 09:48:13 +03:00
  • a98f315cbc Merge 'cli/fix: Apply default config for app' from Diego Reis Jussi Saurio 2025-05-22 09:44:06 +03:00
  • 53bf5d5ef5 adjust translate functions to take a program instead of Option<ProgramBuilder> + remove any Init emission in traslate functions + use epilogue in all places necessary pedrocarlo 2025-05-21 16:41:10 -03:00
  • 1c12535d9f push prologue to top-level translate function pedrocarlo 2025-05-21 15:50:43 -03:00
  • 8084d54c26 lift pragma statement handling as it cannot be created in a nested context pedrocarlo 2025-05-21 14:13:28 -03:00
  • d21229d4a3 create inner translate function to enable calling it from a nested context pedrocarlo 2025-05-21 14:08:02 -03:00
  • 3090dd91fa push translate_ctx creation outside of prologue pedrocarlo 2025-05-21 13:06:25 -03:00
  • fc08f786fc use prologue and epilogue in insert pedrocarlo 2025-05-21 01:54:01 -03:00
  • f5d6d11d16 extract prologue and epilogue to program builder pedrocarlo 2025-05-21 01:48:38 -03:00
  • 517c7c81cd refactor to include optional program builder argument pedrocarlo 2025-05-21 01:42:37 -03:00
  • c76387ec1b cli/fix: Apply default config for app Diego Reis 2025-05-21 12:04:11 -03:00
  • b135bf449f reduce attempts for fuzz_long overflow Pere Diaz Bou 2025-05-21 15:40:42 +02:00
  • 7143e43dd4 clippy Pere Diaz Bou 2025-05-21 14:33:20 +02:00
  • a69f85be84 cacheflush clear cache Pere Diaz Bou 2025-05-21 13:56:40 +02:00
  • 4704cdd24f validate_btree pin pages Pere Diaz Bou 2025-05-21 13:56:21 +02:00
  • ddb166f0f0 custom hashmap for page cache Pere Diaz Bou 2025-05-21 12:05:47 +02:00
  • c365d79cb1 minimum capacity 10 in page cache Pere Diaz Bou 2025-05-21 11:02:36 +02:00
  • b76961ce35 balance mark dirty from start Pere Diaz Bou 2025-05-21 11:02:10 +02:00
  • 591c674e86 Introduce PageRef wrapper BTreePage. Pere Diaz Bou 2025-05-20 15:44:18 +02:00
  • 35f7317724 add default page cache Pere Diaz Bou 2025-05-19 15:40:32 +02:00
  • 15d24bd818 Start transactions in fuzz tests to flush pages Pere Diaz Bou 2025-05-19 15:05:17 +02:00
  • adf72f2bf8 allow updating a page id in page cache Pere Diaz Bou 2025-05-19 15:02:38 +02:00
  • 35e2088b7e cacheflush move dirty page to new snapshot Pere Diaz Bou 2025-05-19 15:00:32 +02:00
  • 9677997c63 fix page cache fuzz Pere Diaz Bou 2025-05-19 12:04:30 +02:00
  • 04323f95a5 increase cache size in empty_btree Pere Diaz Bou 2025-05-19 12:03:53 +02:00
  • 67e260ff71 allow delete of dirty page in cacheflush Pere Diaz Bou 2025-05-19 11:07:30 +02:00
  • e2f99a1ad2 page_cache: implement resize Alecco 2025-04-19 18:48:19 +02:00
  • e808a28c98 WIP (squash) adapt pager and btree to page cache error handling Alecco 2025-04-20 18:17:51 +02:00
  • 4ef3c1d04d page_cache: fix insert and evict logic Alecco 2025-04-18 21:03:48 +02:00
  • bdf427c329 page_cache: proper error handling for deletions Alecco 2025-04-14 22:06:06 +02:00
  • c8beddab09 page_cache: split unlink() out of detach() Alecco 2025-04-15 12:44:34 +02:00
  • 6763aa0cd5 page_cache: tests: helper functions and more tests Alecco 2025-04-15 20:04:07 +02:00
  • 7e898eb8ca page_cache: tests: move helper function up Alecco 2025-04-15 14:40:55 +02:00
  • 696c98877c Merge 'btree: Remove assumption that all btrees have a rowid' from Jussi Saurio Jussi Saurio 2025-05-21 14:53:00 +03:00
  • 580d55f255 Merge 'bindings/rust: Add pragma methods' from Diego Reis Pekka Enberg 2025-05-21 12:38:34 +03:00
  • ad9d044a04 Add CSV extension Piotr Rzysko 2025-05-19 21:18:05 +02:00
  • 9c1dca72db Introduce VTable Piotr Rzysko 2025-05-19 06:29:20 +02:00
  • 6b454ea36f Normalize column names when creating virtual tables Piotr Rzysko 2025-05-18 22:08:47 +02:00
  • ea0ec6a216 Remove VTabModule methods delegating directly to VTabCursor Piotr Rzysko 2025-05-18 21:37:43 +02:00
  • c800de4304 Merge 'Output rust backtrace in python tests' from Preston Thorpe Jussi Saurio 2025-05-20 17:59:07 +03:00
  • 28cd14ff1c Merge 'Fix labeler' from Jussi Saurio Jussi Saurio 2025-05-20 16:34:16 +03:00
  • 1dc7518551 Fix labeler: checkout repo and add issues:write perm Jussi Saurio 2025-05-20 16:29:54 +03:00
  • c62d3e464f Output rust backtrace in python tests PThorpe92 2025-05-20 09:20:59 -04:00
  • 44541cb0d5 wip: Add more pragma methods Diego Reis 2025-05-20 09:50:05 -03:00
  • c4548b51f1 Merge 'Optimization: lift common subexpressions from OR terms' from Jussi Saurio Jussi Saurio 2025-05-20 14:33:49 +03:00
  • 14058357ad Merge 'refactor: replace Operation::Subquery with Table::FromClauseSubquery' from Jussi Saurio Jussi Saurio 2025-05-20 14:31:42 +03:00
  • 63457bda14 Adjust logic not to delete WhereTerms, since 'consumed' property was introduced Jussi Saurio 2025-05-20 14:28:05 +03:00
  • 6790b7479c Optimization: lift common subexpressions from OR terms Jussi Saurio 2025-05-18 18:43:15 +03:00
  • 0f2bd1f3a2 Doc comment for IndexKeyInfo (thanks copilot) Jussi Saurio 2025-05-19 16:42:38 +03:00
  • 42dc824794 Fix: make OpenEphemeral use new_index() instead of new() Jussi Saurio 2025-05-18 12:51:33 +03:00
  • e4334dcfdf Add enum CursorHasRecord to remove assumption that all btrees have rowid Jussi Saurio 2025-05-18 12:29:25 +03:00
  • 35350a2368 Add IndexKeyInfo to btree Jussi Saurio 2025-05-18 12:08:20 +03:00
  • a7b33b1509 schema: add Index::has_rowid Jussi Saurio 2025-05-18 12:00:56 +03:00
  • 9d3aca6e8f Fix compile error after merge Jussi Saurio 2025-05-20 14:19:32 +03:00
  • 57d8f20135 Merge 'Add collation column to Index struct' from Jussi Saurio Jussi Saurio 2025-05-20 14:18:17 +03:00
  • e102cd0be5 Merge 'Add support for DISTINCT aggregate functions' from Jussi Saurio Pekka Enberg 2025-05-20 13:58:57 +03:00
  • 3121c6cdd3 Replace Operation::Subquery with Table::FromClauseSubquery Jussi Saurio 2025-05-20 10:01:54 +03:00
  • 9c710b5292 Add collation column to Index struct Jussi Saurio 2025-05-20 11:12:51 +03:00
  • 32aac8e9ef Merge 'Feature: Collate' from Pedro Muniz Jussi Saurio 2025-05-20 10:52:11 +03:00
  • 4766c9c286 bind/rust: Fix lifetime issue with pragma_query Diego Reis 2025-05-19 20:46:22 -03:00
  • 4b7e4417aa remove detection of comments in the middle of query in cli pedrocarlo 2025-05-19 16:47:00 -03:00
  • 52533cab40 only pass collations for index in cursor + adhere to order of columns in index pedrocarlo 2025-05-19 12:47:17 -03:00
  • 22b6b88f68 fix rebase type errors pedrocarlo 2025-05-19 11:41:42 -03:00
  • 819fd0f496 use any error method instead, as limbo and sqlite error message differ slightly pedrocarlo 2025-05-16 21:48:20 -03:00
  • 5b15d6aa32 Get the table correctly from the connection instead of table_references + test to confirm unique constraint pedrocarlo 2025-05-16 21:35:23 -03:00
  • 4a3119786e refactor BtreeCursor and Sorter to accept Vec of collations pedrocarlo 2025-05-16 20:42:26 -03:00
  • f28ce2b757 add collations to btree cursor pedrocarlo 2025-05-16 18:41:14 -03:00
  • 5bd47d7462 post rebase adjustments to accomodate new instructions that were created before the merge conflicts pedrocarlo 2025-05-16 14:38:01 -03:00
  • cc86c789d6 Correct Rtrim pedrocarlo 2025-04-20 04:28:56 -03:00
  • 6d7a73fd60 More tests pedrocarlo 2025-04-20 03:56:36 -03:00
  • bf1fe9e0b3 Actually fixed group by and order by collation pedrocarlo 2025-04-20 03:53:44 -03:00
  • 0df6c87f07 Fixed Group By collation pedrocarlo 2025-04-20 02:11:33 -03:00
  • bba9689674 Fixed matching bug for defining collation context to use pedrocarlo 2025-04-20 02:02:07 -03:00
  • a818b6924c Removed repeated binary expression translation. Adjusted the set_collation to capture additional context of whether it was set by a Collate expression or not. Added some tests to prove those modifications were necessary. pedrocarlo 2025-04-20 01:46:26 -03:00
  • f8854f180a Added collation to create table columns pedrocarlo 2025-04-20 00:14:23 -03:00
  • d0a63429a6 Naive implementation of collate for queries. Not implemented for column constraints pedrocarlo 2025-04-19 02:47:59 -03:00
  • b5b1010e7c set binary collation as default pedrocarlo 2025-04-18 23:01:41 -03:00
  • 510c70e919 Create CollationSeq enum and functions. Move strum to workspace dependency to avoid version mismatch with Parser pedrocarlo 2025-04-18 17:26:14 -03:00
  • 4cf9305947 Merge 'bindings/javascript: Add Statement.iterate() method' from Diego Reis Pekka Enberg 2025-05-19 20:44:40 +03:00
  • 95ea92faca Merge 'Improve debug build validation speed' from Pere Diaz Bou Pekka Enberg 2025-05-19 20:42:48 +03:00
  • 5bd85774cf Merge 'Update README.md' from Yusheng Guo Pekka Enberg 2025-05-19 20:42:25 +03:00
  • ed0e3b1ba2 bind/rust: Implement pragma_query Diego Reis 2025-05-19 14:04:59 -03:00
  • 810beeea93 Update README.md Yusheng Guo 2025-05-19 18:29:57 +08:00
  • d2b1be8af7 Merge 'optimizer: fix order by removal logic' from Jussi Saurio Jussi Saurio 2025-05-19 11:29:17 +03:00
  • b7b4f6a390 Merge 'Mark WHERE terms as consumed instead of deleting them' from Jussi Saurio Jussi Saurio 2025-05-19 11:28:09 +03:00
  • f2d0d61962 copilot nice suggestions :) Pere Diaz Bou 2025-05-19 09:59:28 +02:00
  • 5eab588115 improve debug build validation speed Pere Diaz Bou 2025-05-19 09:51:08 +02:00
  • 092462fa74 fix build Jussi Saurio 2025-05-19 07:29:02 +03:00
  • 72a1cd5e3c wip: pragma_query method Diego Reis 2025-05-18 17:39:22 -03:00
  • 7c6a4410d2 Merge '(btree): Implement support for handling offset-based payload access with overflow support' from Krishna Vishal Jussi Saurio 2025-05-18 22:58:10 +03:00
  • 3185aabd20 Merge 'Cli config 2' from Pedro Muniz Jussi Saurio 2025-05-18 22:56:22 +03:00
  • 372850756d Merge 'Fix updating single value' from Pedro Muniz Jussi Saurio 2025-05-18 22:51:11 +03:00
  • fd51c0a970 invalidate records not necessary for fix pedrocarlo 2025-05-18 12:54:15 -03:00
  • 071940f9a7 Merge 'Autoindex fix' from Pedro Muniz Jussi Saurio 2025-05-18 22:41:02 +03:00
  • c8b768f1ea add tests pedrocarlo 2025-05-18 12:43:11 -03:00
  • 7f081c1ac9 remove transmute. Just iterate over columns. No need for unsafe pedrocarlo 2025-05-18 12:32:49 -03:00