Commit Graph

  • 2e8042510e Merge 'Pragma page size reading' from Anton Harniakou Jussi Saurio 2025-04-24 11:08:55 +03:00
  • c3441f9685 vdbe: move comments if instructions were moved around in emit_constant_insns() Jussi Saurio 2025-04-23 13:11:39 +03:00
  • 029e5eddde Fix existing resolve_label() calls to work with new system Jussi Saurio 2025-04-23 13:00:01 +03:00
  • e557503091 expr.rs: use constant spans to optimize constant expressions Jussi Saurio 2025-04-23 12:59:24 +03:00
  • 0f5c791784 vdbe: refactor label resolution to account for insn offsets changing Jussi Saurio 2025-04-23 12:58:58 +03:00
  • b4b38bdb3c vdbe: resolve labels for InitCoroutine::start_offset Jussi Saurio 2025-04-23 12:53:28 +03:00
  • 47f3f3bda3 vdbe: replace constant_insns with constant_spans Jussi Saurio 2025-04-23 12:53:09 +03:00
  • e5bab63522 add expr.is_constant() Jussi Saurio 2025-04-17 15:00:25 +03:00
  • 5bed331505 add Func::is_deterministic() Jussi Saurio 2025-04-18 15:15:43 +03:00
  • b36c898842 rename check_constant() to less confusing name Jussi Saurio 2025-04-17 15:00:16 +03:00
  • 6ff5ff49b7 Merge 'perf/btree: use binary search for Index seek operations' from Jussi Saurio Jussi Saurio 2025-04-24 10:53:35 +03:00
  • 51fc1773ea Fix missing documentation warning; improve the documentation message Anton Harniakou 2025-04-24 10:36:23 +03:00
  • 3798b4aa8b use SortOrder in sorters always Jussi Saurio 2025-04-21 14:58:50 +03:00
  • f53448ae75 Fix bug: we cant remove order by terms from the head of the list Jussi Saurio 2025-04-19 20:30:54 +03:00
  • c88c579154 Merge 'expr.is_nonnull(): return true if col.primary_key || col.notnull' from Jussi Saurio Jussi Saurio 2025-04-24 10:32:00 +03:00
  • 0a69ea0138 Support reading db page size using PRAGMA page_size Anton Harniakou 2025-04-23 16:46:37 +03:00
  • 9dd1ced5ad added tests pedrocarlo 2025-04-23 20:38:08 -03:00
  • b6036cc79d Primary key constraint working pedrocarlo 2025-04-23 16:44:13 -03:00
  • c09e4d1d38 Merge 'Numeric Types Overhaul' from Levy A. Jussi Saurio 2025-04-23 18:34:32 +03:00
  • 9e1f15c679 Merge 'python: add UV project for 'scripts'' from Jussi Saurio Jussi Saurio 2025-04-23 18:33:57 +03:00
  • a7488496d5 expr.is_nonnull(): return true if col.primary_key || col.notnull Jussi Saurio 2025-04-23 18:10:33 +03:00
  • af703110f8 btree: remove extra iter_dir argument that can be derived from seek_op Jussi Saurio 2025-04-23 17:38:48 +03:00
  • 044339efc7 btree: rename tablebtree_move_to_binsearch -> tablebtree_move_to Jussi Saurio 2025-04-23 17:35:22 +03:00
  • 8c338438dd btree: use binary search for index interior cell seek Jussi Saurio 2025-04-23 17:33:45 +03:00
  • 7a133f422f btree: use binary search for index leaves Jussi Saurio 2025-04-23 16:56:45 +03:00
  • 8743dcd0da btree: extract indexbtree_seek() into a function like tablebtree_seek() Jussi Saurio 2025-04-23 15:17:22 +03:00
  • 48071b7ad7 tests/fuzz/compound_index_seek: order select cols by definition order Jussi Saurio 2025-04-23 17:34:19 +03:00
  • 517390a4ea tests/fuzz/compound_index_seek: show which table had failed query Jussi Saurio 2025-04-23 16:57:17 +03:00
  • 5c18c1c57a Draw table if it contains any row Anton Harniakou 2025-04-23 16:36:43 +03:00
  • 8ff906e353 fix: decrease even more nested operations Levy A. 2025-04-23 10:15:49 -03:00
  • 613a332e99 doc: add doc for DoubleDouble Levy A. 2025-04-23 10:13:32 -03:00
  • 2cbb59e3f9 refactor: renaming and better types Levy A. 2025-04-23 09:53:37 -03:00
  • ed27f22e2f comment out incompatible operations Levy A. 2025-04-23 08:33:25 -03:00
  • f1ee92bf2d numeric types overhaul Levy A. 2025-04-22 18:23:07 -03:00
  • 3bbd443286 python: add UV project for 'scripts' Jussi Saurio 2025-04-23 10:32:38 +03:00
  • fd2b274556 Merge 'Python script to compare vfs performance' from Preston Thorpe Jussi Saurio 2025-04-23 10:25:56 +03:00
  • e1d9bfc792 Merge branch 'main' into bench_vfs Preston Thorpe 2025-04-22 21:36:07 -04:00
  • fc5099e2ef antithesis: Enable RUST_BACKTRACE for workload Pekka Enberg 2025-04-22 12:04:47 +03:00
  • beaccae664 Merge 'Create an automatic ephemeral index when a nested table scan would otherwise be selected' from Jussi Saurio Pekka Enberg 2025-04-22 13:00:06 +03:00
  • 2495d15b96 Index insert fuzz Jussi Saurio 2025-04-16 13:11:49 +03:00
  • 936365a44e Update README.md Pekka Enberg 2025-04-22 12:11:23 +03:00
  • c2cf4756ef Update README.md Pekka Enberg 2025-04-22 12:10:02 +03:00
  • d92fb75262 Merge 'Fix incorrect between expression documentation' from Pedro Muniz Pekka Enberg 2025-04-22 11:56:01 +03:00
  • e41bf3993a Merge 'bindings/rust: Add Statement.columns() support' from Timo Kösters Pekka Enberg 2025-04-22 10:52:25 +03:00
  • 7308f6d6e8 Merge 'Bump julian_day_converter to 0.4.5' from meteorgan Pekka Enberg 2025-04-22 10:48:36 +03:00
  • 68d8b86bb7 fix: get name of rowid column Timo Kösters 2025-04-21 13:15:04 +02:00
  • 094fd0e211 Add TPC-H instructions to PERF.md Pekka Enberg 2025-04-22 09:46:16 +03:00
  • 1928dcfa10 Correct docs regarding between pedrocarlo 2025-04-21 23:05:01 -03:00
  • 2e33ce6896 Add release build to bench vfs in makefile to ensure there is an exec target PThorpe92 2025-04-21 12:31:38 -04:00
  • f180de4d95 Write quick note about vfs benchmark script in PERF.md PThorpe92 2025-04-21 12:24:18 -04:00
  • 9bbd6a3a7f Add vfs bench to testing pyproject.toml PThorpe92 2025-04-21 12:23:06 -04:00
  • 2037fbeba5 Add bench-vfs command to makefile PThorpe92 2025-04-21 12:22:40 -04:00
  • 7f170756ae Add python script to benchmark vfs against eachother PThorpe92 2025-04-21 12:22:20 -04:00
  • f256fb46fd remove print spam from index insert Jussi Saurio 2025-04-19 12:46:11 +03:00
  • 3b44b269a3 optimizer: try to build ephemeral index to avoid nested table scan Jussi Saurio 2025-04-19 12:22:57 +03:00
  • 6924424f11 optimizer: add highly unintelligent heuristics-based cost estimation Jussi Saurio 2025-04-19 12:22:40 +03:00
  • a50fa03d24 optimizer: allow calling try_extract_index... without any persistent indexes Jussi Saurio 2025-04-19 12:21:34 +03:00
  • af21f60887 translate/main_loop: create autoindex when index.ephemeral=true Jussi Saurio 2025-04-16 14:22:54 +03:00
  • c1b2dfc32b TableReference: add method column_is_used() Jussi Saurio 2025-04-19 12:20:25 +03:00
  • 09ad6d8f01 vdbe: resolve labels for Insn::Once Jussi Saurio 2025-04-16 14:23:13 +03:00
  • d0da7307be Index: add new field ephemeral: bool Jussi Saurio 2025-04-15 20:33:57 +03:00
  • 1c82752473 feat: Statement::columns function for Rust bindings Timo Kösters 2025-04-21 13:14:12 +02:00
  • a6dccdd12c Merge 'docs: add Rust to "Getting Started" section' from Timo Kösters Pere Diaz Bou 2025-04-21 12:19:10 +02:00
  • fc4deb2b7b Merge 'btree: avoid reading entire cell when only rowid needed' from Jussi Saurio Pere Diaz Bou 2025-04-21 12:14:21 +02:00
  • b945e9b2a0 docs: add Rust to "Getting Started" section Timo Kösters 2025-04-21 10:13:46 +02:00
  • 277f6f1083 Switch to using std::io::IsTerminal::is_terminal pedrocarlo 2025-04-21 01:03:31 -03:00
  • 7aaffff45f Correct for Windows pedrocarlo 2025-04-20 18:11:45 -03:00
  • b550fbb3e4 Only initialize Rustyline if we are in a tty pedrocarlo 2025-04-20 17:03:43 -03:00
  • 53061f5642 Merge 'Fix bug: left join null flag not being cleared' from Jussi Saurio Jussi Saurio 2025-04-19 20:39:30 +03:00
  • 83c509a613 Fix bug: left join null flag not being cleared Jussi Saurio 2025-04-19 13:47:17 +03:00
  • 017cdb9568 btree: avoid reading entire cell when only rowid needed Jussi Saurio 2025-04-17 10:43:02 +03:00
  • ac8ffa645d Merge 'btree: use binary search in seek/move_to for table btrees' from Jussi Saurio Jussi Saurio 2025-04-18 16:44:20 +03:00
  • 3dab59201d Separate both table&index move_to impls into different funcs Jussi Saurio 2025-04-17 14:23:25 +03:00
  • 0974ba6e71 default to using tablebtree_move_to in all calls to move_to with rowids Jussi Saurio 2025-04-17 14:10:31 +03:00
  • 12e689b9fc btree: use binary search on table leaf pages too Jussi Saurio 2025-04-17 09:45:18 +03:00
  • 3f9bdbdf14 btree: use binary search in move_to() for table btrees Jussi Saurio 2025-04-16 20:22:43 +03:00
  • 1ccc321030 Merge 'Feat: Covering indexes' from Jussi Saurio Jussi Saurio 2025-04-18 15:27:27 +03:00
  • 9d553c50cc Merge 'allow index entry delete' from Pere Diaz Bou Jussi Saurio 2025-04-18 15:26:05 +03:00
  • bf2e198a57 Merge 'Fix out of bounds access on parse_numeric_str' from Levy A. Jussi Saurio 2025-04-18 15:24:37 +03:00
  • 8477ff0d3d tests/fuzz: amend compound index key fuzz to include nonindexed columns some of the time Jussi Saurio 2025-04-16 16:48:53 +03:00
  • 6c73db6fd3 feat: use covering indexes whenever possible Jussi Saurio 2025-04-15 13:34:52 +03:00
  • 5b71d3a3da eliminate_unnecessary_orderby: add edge case handling Jussi Saurio 2025-04-15 13:20:07 +03:00
  • 40d880c3b0 TableReference: add resolve_cursors() method Jussi Saurio 2025-04-15 13:17:14 +03:00
  • d5a6553e63 TableReference: add open_cursors() Jussi Saurio 2025-04-15 11:27:34 +03:00
  • 4ab4a3f6c3 TableReference: add index_is_covering() and utilizes_covering_index() Jussi Saurio 2025-04-15 11:27:11 +03:00
  • 5fd2ed0bae fix: handle empty case Levy A. 2025-04-17 20:20:57 -03:00
  • 32d59b8c78 refactor+fix: using a more robust pattern matching approach Levy A. 2025-04-17 20:08:05 -03:00
  • 48bee334cf Merge 'Support xBestIndex in vtab API' from Preston Thorpe Jussi Saurio 2025-04-17 23:17:01 +03:00
  • bef2058f1c Merge 'Fix post balance validation ' from Pere Diaz Bou Jussi Saurio 2025-04-17 22:48:51 +03:00
  • d02900294e Remove 2nd shell in vtab tests, fix expr translation in main loop PThorpe92 2025-04-17 13:47:46 -04:00
  • a25a02efe1 Improve xBestIndex call site and allow for proper handling of join and where constraints PThorpe92 2025-04-17 13:15:20 -04:00
  • 245e7f94f6 Store packed field on ConstraintInfo to optimize planning for vfilter PThorpe92 2025-04-17 13:14:04 -04:00
  • 95a2fdc096 Fix array from ptr in bestindex ffi method in proc macro PThorpe92 2025-04-17 13:12:07 -04:00
  • d53c60e071 Prevent double allocations for VFilter args in vdbe PThorpe92 2025-04-17 13:11:21 -04:00
  • e17fd7edc4 Add comments and address PR review PThorpe92 2025-04-09 11:06:26 -04:00
  • 528a9b6c7e Clean up allocations in main loop and fix ext tests PThorpe92 2025-04-06 23:44:19 -04:00
  • 7d271edf8a Remove unused function in core/util.rs PThorpe92 2025-04-06 19:33:15 -04:00
  • 6f2c6c6a61 Actually skip omitted predicates in open loop PThorpe92 2025-04-06 19:30:00 -04:00
  • de27c2fe4c Properly handle pushing predicates for query optimization from xBestIndex PThorpe92 2025-04-06 17:31:15 -04:00
  • 0f34a813ff Add can_pushdown_predicate fn to evaluate ast expressions for constness PThorpe92 2025-04-06 14:20:51 -04:00