Commit Graph

  • 7f5038f7c9 Merge 'perf/throughput/turso: Async transactions with concurrent mode' from Pekka Enberg Pekka Enberg 2025-09-13 15:07:29 +03:00
  • e18b6b0b56 inline TcMits 2025-09-13 18:07:45 +07:00
  • 7d3ce68695 Merge 'core/throughput: Add per transaction think time support' from Pekka Enberg Pekka Enberg 2025-09-13 14:07:30 +03:00
  • 0effb981e6 autoincrement functionality works as good as sqlite now, handled all edge cases that we are aware of - The code now prevents dropping or indexing sqlite_sequence - make sure that AUTOINCREMENT only works on a single INTEGER PRIMARY KEY - handles i64::MAX gracefully by returning SQLITE_FULL - also AUTOINCREMENT now works in both column and table constraints. Pavan-Nambi 2025-09-13 16:02:18 +05:30
  • 898f32f7f7 Fix Antithesis Dockerfile to include whopper Pekka Enberg 2025-09-13 13:33:11 +03:00
  • 3733d3856a Merge 'core: Panic on fsync() error by default' from Pekka Enberg Pekka Enberg 2025-09-13 13:32:07 +03:00
  • 0fad30a30d perf/throughput/turso: Async transactions with concurrent mode Pekka Enberg 2025-09-13 13:25:16 +03:00
  • 8dc2e738a4 core/throughput: Add per transaction think time support Pekka Enberg 2025-09-13 13:02:43 +03:00
  • 17ee979583 fix macro TcMits 2025-09-13 16:35:58 +07:00
  • 01da48fde9 introduce instruction virtual table TcMits 2025-09-13 16:35:17 +07:00
  • 1a95131c3c Include windows in ToTokens for SelectPlan Piotr Rzysko 2025-09-08 06:16:31 +02:00
  • 9ff2133ff2 Rewrite window function expressions in the optimizer Piotr Rzysko 2025-09-12 09:17:21 +02:00
  • f5efcbe745 Add support for window functions Piotr Rzysko 2025-09-12 09:12:01 +02:00
  • c81cd16230 Extract QueryDestination::placeholder_for_subquery Piotr Rzysko 2025-09-06 05:58:36 +02:00
  • 1826023c32 Decouple AggArgumentSource::Expression from Aggregate Piotr Rzysko 2025-09-11 07:22:20 +02:00
  • 6c3c44e204 Expose fewer details from AggArgumentSource Piotr Rzysko 2025-09-06 05:51:50 +02:00
  • 5f2a3e1242 Handle dummy argument for count() and count(*) in translation Piotr Rzysko 2025-09-05 20:57:02 +02:00
  • 6d84cbedc2 Fix delimiter handling in group_concat and string_agg Piotr Rzysko 2025-09-05 20:49:03 +02:00
  • 110ffba2a1 Fix accumulator reset when arguments outnumber aggregates Piotr Rzysko 2025-09-06 05:36:03 +02:00
  • 6224cdbbd3 Support WalkControl in walk_expr_mut Piotr Rzysko 2025-09-02 08:56:02 +02:00
  • b911e80607 Add AggValue instruction Piotr Rzysko 2025-09-05 10:11:00 +02:00
  • c5a12f52c2 Don't mutate state in op_agg_final Piotr Rzysko 2025-09-05 20:25:45 +02:00
  • 458172220e Remove unused method from AggContext Piotr Rzysko 2025-09-05 20:20:38 +02:00
  • 867bef55d8 Add ResetSorter instruction Piotr Rzysko 2025-08-23 21:17:53 +02:00
  • ea9599681e Add OpenDup instruction Piotr Rzysko 2025-08-23 05:56:22 +02:00
  • d8f07fe3da core: Panic on fsync() error by default Pekka Enberg 2025-09-13 09:36:49 +03:00
  • a7e34f1551 Merge 'Handle partial writes in unix IO for pwrite and pwritev' from Preston Thorpe Pekka Enberg 2025-09-13 09:08:43 +03:00
  • f547a302cc Merge 'remove Stmt clone' from Lâm Hoàng Phúc Pekka Enberg 2025-09-13 09:06:15 +03:00
  • 5256f29a9c Add checksums behind a feature flag Avinash Sajjanshetty 2025-09-10 19:39:20 +05:30
  • 06a824ec68 Add checksum tests Avinash Sajjanshetty 2025-09-08 18:55:27 +05:30
  • 1536f65f07 move test helper run_query to common module Avinash Sajjanshetty 2025-09-08 18:54:43 +05:30
  • 11030056c7 rename method to verify_checksum Avinash Sajjanshetty 2025-09-08 18:53:32 +05:30
  • e010c46552 use checksums when reading/writing from db file Avinash Sajjanshetty 2025-09-08 17:05:57 +05:30
  • 4b59cf19e5 use checksums when reading/writing from wal Avinash Sajjanshetty 2025-09-08 17:04:58 +05:30
  • 14a1307720 Set reserved space as required when allocating page1 Avinash Sajjanshetty 2025-09-08 17:00:21 +05:30
  • 3b410e4f79 set required reserved bytes while initialising the pager Avinash Sajjanshetty 2025-09-08 16:37:38 +05:30
  • 2e6943bfdf Add helper to read reserved bytes value from disk Avinash Sajjanshetty 2025-09-08 16:30:46 +05:30
  • c2c1ec2dba Pass use usable_space() instead of hardcoding the value Avinash Sajjanshetty 2025-09-08 16:29:34 +05:30
  • 15266105f7 Update IOContext to carry checksum ctx Avinash Sajjanshetty 2025-09-08 16:23:01 +05:30
  • 3f72de3623 Add checksum module Avinash Sajjanshetty 2025-09-08 16:12:13 +05:30
  • 48522c1cc0 remove Stmt clone TcMits 2025-09-13 12:08:29 +07:00
  • 0afae0db20 update tests after merging Pavan-Nambi 2025-09-13 07:33:43 +05:30
  • fdb4f98e11 Merge remote-tracking branch 'upstream/main' into cdc_fail_autoincrement Pavan-Nambi 2025-09-13 07:17:18 +05:30
  • f5c52065ed update sync-engine tests Pavan-Nambi 2025-09-13 07:10:18 +05:30
  • 6098bca211 Handle partial writes in unix IO for pwrite and pwritev PThorpe92 2025-09-12 18:13:02 -04:00
  • b1420904bb Merge 'fix(btree): advance cursor after interior node replacement in delete' from Jussi Saurio Preston Thorpe 2025-09-12 17:37:01 -04:00
  • 1803d0bb5d test: Enable some MVCC test cases Pekka Enberg 2025-09-12 23:11:45 +03:00
  • ad6157028e Merge 'core/vdbe: Fix BEGIN CONCURRENT transactions' from Pekka Enberg Pekka Enberg 2025-09-12 23:11:12 +03:00
  • a0921c4221 Merge 'core/storage: Remove unused import warning' from Pekka Enberg Pekka Enberg 2025-09-12 23:11:05 +03:00
  • 5e2b1bc0d3 Merge 'Fix incompatible math functions' from Levy A. Pekka Enberg 2025-09-12 21:28:08 +03:00
  • 86dcdad3d0 core/vdbe: Fix BEGIN CONCURRENT transactions Pekka Enberg 2025-09-12 21:19:34 +03:00
  • 2bc8c0c850 core/storage: Remove unused import warning Pekka Enberg 2025-09-12 21:09:38 +03:00
  • dcd43ab8fc Merge 'Handle EXPLAIN QUERY PLAN like SQLite' from Lâm Hoàng Phúc Pekka Enberg 2025-09-12 20:41:23 +03:00
  • b2d0de796b Merge 'Fix simulator docker build chef by adding whopper directory' from Preston Thorpe Pekka Enberg 2025-09-12 20:40:42 +03:00
  • 02743253ee Fix simulator docker build chef by adding whopper directory PThorpe92 2025-09-12 13:35:02 -04:00
  • 1752266285 Merge 'Update epoch on each checkpoint to prevent using stale pages for backfilling' from Preston Thorpe Preston Thorpe 2025-09-12 12:54:00 -04:00
  • b04c364981 Fix clippy error PThorpe92 2025-09-12 11:42:13 -04:00
  • 5df05e05f8 Turso 0.2.0-pre.3 Pekka Enberg 2025-09-12 18:40:06 +03:00
  • 9c08095abf Merge 'fix wasm-runtime package.json' from Nikita Sivukhin Pekka Enberg 2025-09-12 18:39:49 +03:00
  • 7a14c7394f Remove the header copy stored on the WalFile, fix fast_path PThorpe92 2025-09-12 11:18:28 -04:00
  • 25e7c719f1 Update checkpoint_seq on each checkpoint, not just when log restarts PThorpe92 2025-09-12 09:22:30 -04:00
  • 99759b9efd fix wasm-runtime package.json Nikita Sivukhin 2025-09-12 19:28:30 +04:00
  • 2651b597c6 Turso 0.2.0-pre.2 Pekka Enberg 2025-09-12 17:38:30 +03:00
  • 14da283e36 Merge 'MVCC: remove reliance on BTreeCursor::has_record()' from Jussi Saurio Pekka Enberg 2025-09-12 17:31:15 +03:00
  • 54b4c9f30b Merge 'Implement the balance_quick algorithm' from Jussi Saurio Pekka Enberg 2025-09-12 17:30:52 +03:00
  • 443720c74a Merge 'benchmark: introduce simple 1 thread concurrent benchmark for mvcc/sq…' from Pere Diaz Bou Pekka Enberg 2025-09-12 17:27:41 +03:00
  • 7fdb116d41 Merge 'core/mvcc: queue mvcc txns on pager's end_tx' from Pere Diaz Bou Pekka Enberg 2025-09-12 17:27:17 +03:00
  • ec2cff2026 benchmark: introduce simple 1 thread concurrent benchmark for mvcc/sqlite/wal Pere Diaz Bou 2025-09-12 14:02:57 +00:00
  • 39fb5913e0 core/mvcc: queue write txn commits in mvcc on pager end_tx Pere Diaz Bou 2025-09-12 14:00:02 +00:00
  • e87226548c core/mvcc: fix concurrent tests mvcc Pere Diaz Bou 2025-09-12 13:49:40 +00:00
  • 9b6d181be4 wal: add hacky update max frame for mvcc use Pere Diaz Bou 2025-09-12 13:49:14 +00:00
  • 66b5630870 vdbe/mvcc: rollback mvcc txn on vdbe error Pere Diaz Bou 2025-09-12 13:47:45 +00:00
  • b5f3da100b Merge 'fix CI for apple builds' from Nikita Sivukhin Jussi Saurio 2025-09-12 16:19:05 +03:00
  • 6559f23f85 Merge 'hack imports of wasm due to the issues in Vite and Next.js build systems' from Nikita Sivukhin Jussi Saurio 2025-09-12 16:18:47 +03:00
  • 305b2f55ae MVCC: remove reliance on BTreeCursor::has_record() Jussi Saurio 2025-09-12 15:59:31 +03:00
  • ff23f9795b Merge 'Fix tests for views' from Preston Thorpe Jussi Saurio 2025-09-12 16:03:43 +03:00
  • 78e06ff4f7 fix update script Nikita Sivukhin 2025-09-12 17:03:04 +04:00
  • 6e04989ef8 remove useless file TcMits 2025-09-12 20:00:56 +07:00
  • 9dac467b40 support EXPLAIN QUERY PLAN TcMits 2025-09-12 19:58:45 +07:00
  • ab6c1bd8c7 use arm target for apply builds Nikita Sivukhin 2025-09-12 16:50:02 +04:00
  • 16b8dff697 fix CI for apple builds Nikita Sivukhin 2025-09-12 16:30:53 +04:00
  • 4e54f9042c newlines Nikita Sivukhin 2025-09-12 16:25:39 +04:00
  • 5849819a59 Fix tests for views PThorpe92 2025-09-12 08:20:40 -04:00
  • 5c922da61a reorder packages in the workspace Nikita Sivukhin 2025-09-12 15:57:07 +04:00
  • b09dcceeef Merge 'Fixes views' from Glauber Costa Preston Thorpe 2025-09-12 07:43:32 -04:00
  • a5fbcb11e5 fix CI Nikita Sivukhin 2025-09-12 15:39:38 +04:00
  • 16a3410934 Merge 'Fix checkpoint fast-path, don't use cached pages w/o write lock' from Preston Thorpe Preston Thorpe 2025-09-12 07:39:32 -04:00
  • 8c48a1dc47 bundle browser packages too in order to easily consume them without bundlers Nikita Sivukhin 2025-09-12 15:27:40 +04:00
  • cfe01eafaa fmt Pavan-Nambi 2025-09-12 16:53:12 +05:30
  • 8da4e30308 update rootpage and rowid in test_cdc Pavan-Nambi 2025-09-12 16:21:23 +05:30
  • f55023acc8 Merge 'Refactor UPSERT to use wal_expr_mut to walk AST.' from Preston Thorpe Preston Thorpe 2025-09-12 06:45:13 -04:00
  • f60ca3970f Remove old comment from wal PThorpe92 2025-09-12 06:39:59 -04:00
  • faf3531a4e Fix checkpoint fast-path, don't use cached pages w/o write lock PThorpe92 2025-09-11 14:16:53 -04:00
  • 29d8d04d58 Merge branch 'main' into explain-query-plan TcMits 2025-09-12 17:34:11 +07:00
  • 5dddc5e00b introduce OP_Explain TcMits 2025-09-12 17:31:50 +07:00
  • 1c38344f4f build bundles for browser libs Nikita Sivukhin 2025-09-12 14:15:28 +04:00
  • b086cba669 hack imports of wasm due to the issues in Vite and Next.js build systems Nikita Sivukhin 2025-09-11 13:25:01 +04:00
  • 7191f1cc1c Merge remote-tracking branch 'upstream/main' into cdc_fail_autoincrement Pavan-Nambi 2025-09-12 15:17:12 +05:30
  • 6a992e551c Merge 'core: Fix reprepare to properly reset statement cursors and registers' from Pedro Muniz Pekka Enberg 2025-09-12 12:29:53 +03:00
  • 9f6e1a2e7c fix(btree): advance cursor after interior node replacement in delete Jussi Saurio 2025-09-12 10:42:17 +03:00