Commit Graph

  • cd31119972 Fix: cargo clippy warning RS2007 2025-07-07 19:47:14 +05:30
  • adf70dc855 Return number of rows changed from Connection.execute RS2007 2025-07-07 14:54:15 +05:30
  • 6506b3147d implement pragma application_id Glauber Costa 2025-07-19 20:28:08 -05:00
  • 024d79fc0d implement write side of pragma schema_version Glauber Costa 2025-07-19 20:39:30 -05:00
  • 10a848fbc5 address nit Iaroslav Zeigerman 2025-07-19 18:40:43 +02:00
  • 4749ce95c1 implement Debug for Database Glauber Costa 2025-07-18 17:49:07 -05:00
  • bab8001a9c use wasm32-wasip1 target instead of wasm32-wasi Nils Koch 2025-07-19 13:16:01 +01:00
  • d1fdc7dbc8 Merge 'Simplify blocking operations – add io.block(fn) for IO trait implementors' from Levy A. Pekka Enberg 2025-07-19 12:20:07 +03:00
  • 16958f1a44 Turso 0.1.3-pre.3 Pekka Enberg 2025-07-19 08:44:22 +03:00
  • 0ea7849dca feat: IOExt utility trait Levy A. 2025-07-18 16:32:22 -03:00
  • 5d47502e3a Avoid redundant decoding of record headers when reading sorted chunk files Iaroslav Zeigerman 2025-07-19 06:08:27 +02:00
  • 67f3e54782 Merge 'sorter: fix sorter panic on SortedChunkIOState::WaitingForRead' from Jussi Saurio Jussi Saurio 2025-07-18 23:32:46 +03:00
  • fd6fda07ac Merge 'bindings/rust: Initial support for transactions API' from Diego Reis Pekka Enberg 2025-07-18 21:02:18 +03:00
  • c2a8a6f178 Merge 'improve handling of double quotes' from Glauber Costa Pekka Enberg 2025-07-18 20:55:37 +03:00
  • cbdd5c5fc7 improve handling of double quotes Glauber Costa 2025-07-17 21:19:11 -05:00
  • 523f8f9c67 add .dbconfig option Glauber Costa 2025-07-18 10:12:08 -05:00
  • 97d2306e26 unwrap on failed usable_space pedrocarlo 2025-07-17 12:51:08 -03:00
  • 28ae96f49f remove confusing casting from usize -> u16 -> usize for usable space pedrocarlo 2025-07-17 12:42:32 -03:00
  • b3c8255032 Fix clippy warnings Diego Reis 2025-07-17 22:43:53 -03:00
  • f9d024b68a bind/rust: Use Rusqlite compatible consumer API Diego Reis 2025-07-17 21:14:39 -03:00
  • 92cddb6437 bind/rust: Add more tests for Transaction Diego Reis 2025-07-17 20:43:48 -03:00
  • 0b96c24196 wip: Basic support for Transaction in Rust binding Diego Reis 2025-07-17 15:35:41 -03:00
  • 2aca28a86b Merge 'claude sonnet forgot to run clippy when implementing mcp server' from Jussi Saurio Jussi Saurio 2025-07-18 17:19:59 +03:00
  • 1f55726acf claude sonnet forgot to run clippy when implementing mcp server Jussi Saurio 2025-07-18 17:15:39 +03:00
  • 81d386d6c4 Merge 'bindings/js: support iterator, and more kinds of params' from Mikaël Francoeur Pekka Enberg 2025-07-18 16:25:01 +03:00
  • ac157f6dcc Merge 'Add a native MCP server' from Glauber Costa Pekka Enberg 2025-07-18 16:05:57 +03:00
  • 4d15725b6f sorter: fix sorter panic on SortedChunkIOState::WaitingForRead Jussi Saurio 2025-07-18 14:18:49 +03:00
  • bca1e56f49 Merge 'Remove find_cell, allow overwrite of index interior cell' from Jussi Saurio Jussi Saurio 2025-07-18 14:09:39 +03:00
  • 40df1725c5 Fix restore_context() not advancing when required Jussi Saurio 2025-07-18 12:54:24 +03:00
  • 2a2ab16c52 fix moved_before handling in cursor.insert Jussi Saurio 2025-07-17 09:35:12 +03:00
  • 28c050dd27 seek before insert to ensure correct location in fuzz test Jussi Saurio 2025-07-08 22:04:46 +03:00
  • fdeb15bb9d btree/delete: rightmost_cell_was_dropped logic is not needed since a) if we balance, we seek anyway, and b) if we dont balance, we retreat anyway Jussi Saurio 2025-07-08 15:13:49 +03:00
  • 55151a8061 Fix cases where Insn::Insert needs to seek to ensure correct insertion Jussi Saurio 2025-07-07 18:42:18 +03:00
  • 9ee6988fc5 VDBE: NewRowid needs to call next() in case op_not_exists() is not called afterwards Jussi Saurio 2025-07-07 17:52:10 +03:00
  • 4f0ef663e2 btree: add target cell tracking for EQ seeks Jussi Saurio 2025-07-07 17:31:16 +03:00
  • 2b23495943 btree: allow overwriting index interior cell Jussi Saurio 2025-07-07 15:56:36 +03:00
  • e33ff667dc btree: use seek() when inserting -- replaces find_cell() Jussi Saurio 2025-07-08 18:44:42 +03:00
  • 9201030e67 Ephemeral UNION indexes don't need to be UNIQUE Jussi Saurio 2025-07-07 14:55:51 +03:00
  • f7068ce23a Merge 'Fix parent page stack location after interior node replacement' from Jussi Saurio Jussi Saurio 2025-07-18 13:48:06 +03:00
  • aeab89bd75 Fix parent page stack location after interior node replacement Jussi Saurio 2025-07-18 13:23:57 +03:00
  • b1ebc1c82f Merge 'sim: show seed in 'execute_interaction()' trace' from Jussi Saurio Jussi Saurio 2025-07-18 12:27:48 +03:00
  • 086a269a65 Merge 'sim: change --disable-create-index flag to --enable-create-index (default false)' from Jussi Saurio Jussi Saurio 2025-07-18 12:27:35 +03:00
  • 0af2443061 Merge 'sim: add order by to some queries' from Jussi Saurio Jussi Saurio 2025-07-18 12:27:30 +03:00
  • 02f4bc39b3 Merge 'Reanimate MVCC' from Pekka Enberg Pekka Enberg 2025-07-18 11:22:49 +03:00
  • 687d126e25 sim: change --disable-create-index flag to --enable-create-index (default false) Jussi Saurio 2025-07-18 11:12:40 +03:00
  • 5b2d7315eb sim: show seed in 'execute_interaction()' trace Jussi Saurio 2025-07-18 11:19:11 +03:00
  • 9722aab8a1 clappy Jussi Saurio 2025-07-18 11:01:57 +03:00
  • 347a9152a6 Merge 'Replace verbose IO Completion methods with helpers' from Preston Thorpe Jussi Saurio 2025-07-18 10:52:17 +03:00
  • bbd7f32d80 Merge 'Fix rollback for TxErrors' from Diego Reis Jussi Saurio 2025-07-18 10:49:29 +03:00
  • 7e1755ac6f Merge 'Use pread and pwrite in run_once' from Ihor Andrianov Jussi Saurio 2025-07-18 10:48:26 +03:00
  • d67a9f03fd sim: add order by to some queries Jussi Saurio 2025-07-18 10:42:44 +03:00
  • 2be9ead3f7 Merge 'Core: Introduce external sorting' from Iaroslav Zeigerman Jussi Saurio 2025-07-18 10:44:56 +03:00
  • 28ff170e14 improve sorter settings in the fuzz test Iaroslav Zeigerman 2025-07-18 07:41:15 +02:00
  • 76e748146b rebase Iaroslav Zeigerman 2025-07-18 07:30:08 +02:00
  • f6f1d076da verify that records remain unchanged after sorting Iaroslav Zeigerman 2025-07-18 07:26:11 +02:00
  • d9751212d7 make a fuzz sorter test Iaroslav Zeigerman 2025-07-18 07:15:20 +02:00
  • 20bdbd5ca5 address suggestions Iaroslav Zeigerman 2025-07-17 19:41:58 +02:00
  • edf2be1432 fix conflicts Iaroslav Zeigerman 2025-07-17 19:03:02 +02:00
  • 6a609398fe cosmetic fix Iaroslav Zeigerman 2025-07-17 08:03:39 +02:00
  • a88b828268 Fix clippy Iaroslav Zeigerman 2025-07-17 07:47:35 +02:00
  • fd042ac4c8 Use IOResult insteaed of CursorResult Iaroslav Zeigerman 2025-07-17 07:39:00 +02:00
  • 78f3bf3475 Core: Introduce external sorting Iaroslav Zeigerman 2025-07-17 07:10:00 +02:00
  • 9ade79b3ad Do not rollback in TxError Diego Reis 2025-07-18 00:58:46 -03:00
  • a0a948101d Last cleanups of old completion api PThorpe92 2025-07-17 23:47:43 -04:00
  • dced94aec6 Replace verbose completions with new helpers PThorpe92 2025-07-17 23:47:21 -04:00
  • 44d7570272 Add helper/convenience methods for creating io completions PThorpe92 2025-07-17 23:46:55 -04:00
  • fc2249d60d fix: update flake dependencies Levy A. 2025-07-17 20:24:59 -03:00
  • 2f2ecb3576 microsoft paperclip Jussi Saurio 2025-07-17 23:48:31 +03:00
  • 483dc27539 Merge 'make most instrumentation levels to be Debug or Trace instead' from Pedro Muniz Jussi Saurio 2025-07-17 23:45:07 +03:00
  • 746995f436 Merge 'Property FaultyQuery should fail if we encounter an error that is not expected' from Pedro Muniz Jussi Saurio 2025-07-17 23:44:44 +03:00
  • 68427c9b31 Merge 'make_from_btree should wait for IO to complete' from Pedro Muniz Jussi Saurio 2025-07-17 23:44:29 +03:00
  • 1b52b5c764 Merge 'chore: update rust to version 1.88.0' from Nils Koch Jussi Saurio 2025-07-17 23:35:33 +03:00
  • 32532b4feb Add a native MCP server Glauber Costa 2025-07-17 15:05:29 -05:00
  • 4aa2c1a579 Property should fail if we encounter an error that is not expected pedrocarlo 2025-07-14 12:38:26 -03:00
  • c15f1e02d3 make most instrumentation levels to be Debug or Trace instead. Span creation in debug mode is very slow and impacts our ability to run the Simulator fast enough pedrocarlo 2025-07-13 15:31:56 -03:00
  • 8e98c33fce Ruff you are an idiot Pekka Enberg 2025-07-17 21:51:23 +03:00
  • ddc0144dcf core/mvcc: Adjust cursor tests Pekka Enberg 2025-07-17 21:43:07 +03:00
  • d11a8063f0 testing: Format mvcc.py to make ruff happy... Pekka Enberg 2025-07-17 21:39:08 +03:00
  • 9690eb41c2 make_from_btree should wait for IO to complete if we do not want to use a state machine pedrocarlo 2025-07-12 18:24:04 -03:00
  • 9726b95beb Merge 'translate/create index: fix wrong collations' from Jussi Saurio Jussi Saurio 2025-07-17 21:25:11 +03:00
  • 242301704f Merge 'bind/java: Fix Linux x86 build release' from Diego Reis Jussi Saurio 2025-07-17 21:24:44 +03:00
  • 68ad2cf37f bind/java: Fix Linux x86 build release Diego Reis 2025-07-17 15:18:58 -03:00
  • 072cb725a8 Merge 'forgot to set the state to NewTrunk if we have more leaf pages than free entries' from Pedro Muniz Jussi Saurio 2025-07-17 21:16:05 +03:00
  • 1f67d69e8e forgot to set the state to NewTrunk if we have more leaf pages than free entries pedrocarlo 2025-07-17 15:08:54 -03:00
  • a45ac11462 translate/create index: fix wrong collations Jussi Saurio 2025-07-17 19:02:14 +03:00
  • e56325bf05 Merge 'Implement IO latency correctly in simulator' from Pedro Muniz Jussi Saurio 2025-07-17 21:05:17 +03:00
  • bac811caad Merge 'fix/btree: fix insert_into_cell() logic' from Jussi Saurio Jussi Saurio 2025-07-17 19:06:40 +03:00
  • 49b9a69c40 fix/btree: fix insert_into_cell() logic Jussi Saurio 2025-07-17 18:26:14 +03:00
  • b80218324d fix merge conflicts pedrocarlo 2025-07-16 11:08:23 -03:00
  • 6088aa34c2 only add the sync completion after we call sync in the closure pedrocarlo 2025-07-10 15:55:08 -03:00
  • 0ab2f2b951 cli options for max and min tick + adjust github action to run with faster clock so no timeouts happen pedrocarlo 2025-07-10 15:08:27 -03:00
  • 46a7d20c12 clippy pedrocarlo 2025-07-10 12:48:09 -03:00
  • 4a13286d62 modify clock to use simulated time instead pedrocarlo 2025-07-10 11:32:01 -03:00
  • d72a7f5d8e decrease IO latency time as Turso becomes super slow for some reason pedrocarlo 2025-07-09 23:09:08 -03:00
  • 7b8eec90bd edit state machine in Btree for freeing pages + Pager state machine for free_page pedrocarlo 2025-07-09 16:46:42 -03:00
  • 5771d1a00e disable wal sync timeout on checkpoint pedrocarlo 2025-07-09 16:26:13 -03:00
  • b292e08d2b inject latency with queuing system pedrocarlo 2025-07-09 14:37:32 -03:00
  • dc5f73887e refactor to require Arc<Completion> in file traits so that we can delay IO calls correctly pedrocarlo 2025-07-08 21:07:36 -03:00
  • 4ca5595f07 enable io latency + limit number of tests in simulator pull request CI check pedrocarlo 2025-07-03 14:21:51 -03:00
  • b18fd83e6f call TursoDB::load from constructor Mikaël Francoeur 2025-07-17 10:20:21 -04:00