Commit Graph

  • b7c033be20 add tests Nikita Sivukhin 2025-08-21 17:56:46 +04:00
  • 94ed92ca4e fix compilation and clippy Nikita Sivukhin 2025-08-21 17:56:36 +04:00
  • 4653f78356 fix compilation Nikita Sivukhin 2025-08-21 17:50:01 +04:00
  • 7720e07931 allow to mix frames push with sql execution in the single WAL session Nikita Sivukhin 2025-08-21 17:44:33 +04:00
  • 732d998618 allow to open DB with different WAL file :mindblow: Nikita Sivukhin 2025-08-21 17:43:29 +04:00
  • f6729ccc36 fix clippy Nikita Sivukhin 2025-08-21 16:35:56 +04:00
  • 89e180c2a8 add few tests Nikita Sivukhin 2025-08-21 16:34:01 +04:00
  • 94f2e5a4b9 add truncate method to the page cache Nikita Sivukhin 2025-08-21 15:30:10 +04:00
  • 05f4cec34d Merge 'Wal api checkpoint seq' from Nikita Sivukhin Jussi Saurio 2025-08-21 17:05:45 +03:00
  • d125daf1f2 Merge 'Use more structured approach in translate_insert' from Jussi Saurio Jussi Saurio 2025-08-21 16:50:03 +03:00
  • cc28b8833e Fix condition that checks table.cols against number of provided values Jussi Saurio 2025-08-21 15:02:13 +03:00
  • b5bd31a47b Remove old unused data structures and functions Jussi Saurio 2025-08-21 12:32:35 +03:00
  • ac56d5bb67 Use new datastructures and functions in translate_insert Jussi Saurio 2025-08-21 12:31:19 +03:00
  • 88c4eae63e Add functions for constructing and translating Insertions Jussi Saurio 2025-08-21 12:29:54 +03:00
  • 630441e270 Add new Insertion datastructures Jussi Saurio 2025-08-21 12:28:38 +03:00
  • 215485d403 Add Table::get_column_by_name method Jussi Saurio 2025-08-21 11:00:51 +03:00
  • 2caea349a9 Add regression test for #2686 Jussi Saurio 2025-08-21 11:00:14 +03:00
  • dd2e0ea596 Fix: always emit rowid when column is rowid alias Jussi Saurio 2025-08-21 13:20:04 +03:00
  • f9ad43a3a3 Merge 'Fix: all indexes need to be updated if the rowid changes' from Jussi Saurio Jussi Saurio 2025-08-21 16:40:03 +03:00
  • d7e47c1268 fix bug - continue checkpoint as usual even if frames range is degenerate Nikita Sivukhin 2025-08-21 17:37:19 +04:00
  • 22be35e790 Add regression test Jussi Saurio 2025-08-21 16:26:40 +03:00
  • e224bb15a8 Fix incorrect UNIQUE constraint failure behavior in UPDATE Jussi Saurio 2025-08-21 16:25:35 +03:00
  • e7fbeba120 Merge 'Fix: in UPDATE, insert rowid into index instead of NULL' from Jussi Saurio Jussi Saurio 2025-08-21 15:49:55 +03:00
  • 9d44e97a7a Fix: all indexes need to be updated if the rowid changes Jussi Saurio 2025-08-21 15:42:36 +03:00
  • 4ceadcca78 Merge 'Remove hardcoded flag usage in DBHeader for encryption' from Avinash Sajjanshetty Jussi Saurio 2025-08-21 15:46:41 +03:00
  • d1647390c4 Merge 'add remove_file method to the IO' from Nikita Sivukhin Jussi Saurio 2025-08-21 15:46:16 +03:00
  • bec2c4bc79 Merge 'properly execute pragmas - they may require some IO' from Nikita Sivukhin Jussi Saurio 2025-08-21 15:45:49 +03:00
  • 3eeaba87f7 Merge 'Wal checkpoint upper bound' from Nikita Sivukhin Jussi Saurio 2025-08-21 15:45:20 +03:00
  • 6c0c4d77d0 Fix UPDATE inserting NULL into index instead of rowid Jussi Saurio 2025-08-21 14:58:12 +03:00
  • ce8b4c20f6 core/io: Don't open file as non-blocking in Unix backend Pekka Enberg 2025-08-21 14:42:11 +03:00
  • c34d884b6e fix tests Nikita Sivukhin 2025-08-21 15:15:44 +04:00
  • abe3404953 fix build Nikita Sivukhin 2025-08-21 15:15:23 +04:00
  • 69c39d5d8c replace wal_frames_count with wal_state method which return both frames count and checkpoint sequence Nikita Sivukhin 2025-08-21 15:11:15 +04:00
  • 25cb28da67 add method to get checkpoint_seq from WAL Nikita Sivukhin 2025-08-21 15:07:03 +04:00
  • 38eb5232c8 do not check page size if it's not initialized yet Nikita Sivukhin 2025-08-21 15:06:15 +04:00
  • 10a164e399 extend checkpoint result with information about last checkpointed frame Nikita Sivukhin 2025-08-21 15:05:13 +04:00
  • f99843cc9e fix windows io Nikita Sivukhin 2025-08-21 14:57:07 +04:00
  • 1f93e77828 Remove hardcoded flag usage in DBHeader for encryption Avinash Sajjanshetty 2025-08-21 16:21:33 +05:30
  • c771487933 add remove_file method to the IO Nikita Sivukhin 2025-08-21 14:38:17 +04:00
  • 6f3ea749a0 properly execute pragmas - they may require some IO Nikita Sivukhin 2025-08-21 14:31:46 +04:00
  • 144a31192f fix clippy Nikita Sivukhin 2025-08-21 14:13:26 +04:00
  • 05931f70ce add optional upper_bound_inclusive parameter to some checkpoint modes Nikita Sivukhin 2025-08-19 20:27:01 +04:00
  • 306bc7e264 Merge 'Improve WAL checkpointing performance' from Preston Thorpe Preston Thorpe 2025-08-20 18:57:14 -04:00
  • a943dd9dc7 Merge 'Fix: normalize table name in DELETE' from Jussi Saurio Preston Thorpe 2025-08-20 18:56:27 -04:00
  • 4a2da6c262 Remove assertion for checkpoint seq in favor of selectively using cached pages PThorpe92 2025-08-20 17:53:07 -04:00
  • 7082086061 Remove ENV var and enable cache by default, track which pages were cached PThorpe92 2025-08-19 11:53:30 -04:00
  • bf48101db2 Enable CHECKPOINT_CACHE by default in CI and testing scripts PThorpe92 2025-08-18 13:43:34 -04:00
  • 345b80d14c Change env var to ENABLE instead of DISABLE so its disabled by default PThorpe92 2025-08-18 11:59:22 -04:00
  • 51e4cd0f1d Add debug assertion for cached pages used during checkpoint PThorpe92 2025-08-17 18:02:09 -04:00
  • e28a38abc5 Fix wal tag safety issues, and add debug assertion that we are reading the proper frames PThorpe92 2025-08-15 22:40:25 -04:00
  • 4100737358 remove page entries without frames in frame cache in WAL rollback method PThorpe92 2025-08-15 10:17:22 -04:00
  • d2c3ba14c8 Remove inefficient vec in WAL for tracking pages present in frame cache PThorpe92 2025-08-15 09:26:50 -04:00
  • d6d72d2966 Update Page to carry epoch of frame + checkpont seq to ensure proper cached page for chkpt PThorpe92 2025-08-13 15:41:09 -04:00
  • 00f2a0f216 Performance improvements to checkpointing. prevent serializing I/O PThorpe92 2025-08-12 12:40:45 -04:00
  • fe7a5e98b8 Track frame_ids on PageInner and use the page cache for reading pages to checkpoint PThorpe92 2025-08-11 20:42:46 -04:00
  • b0b66114c3 Fix: normalize table name in DELETE Jussi Saurio 2025-08-21 00:03:52 +03:00
  • 9b22026eda Merge 'Add libc fault injection to Antithesis' from Pekka Enberg Pekka Enberg 2025-08-20 18:13:32 +03:00
  • 1dc6fb97c0 Merge 'core/mvcc: store txid in conn and reset transaction state on commit ' from Pere Diaz Bou Pekka Enberg 2025-08-20 16:51:41 +03:00
  • 72a5de3551 Merge 'core/mvcc: support for MVCC' from Pere Diaz Bou Pekka Enberg 2025-08-20 16:51:31 +03:00
  • a4d282874f Merge 'core/mvcc: start first rowid at 1' from Pere Diaz Bou Pere Diaz Bou 2025-08-20 12:51:54 +02:00
  • 7270e66530 unreliable-libc: Make fault injection seed configurable Pekka Enberg 2025-08-19 09:18:20 +03:00
  • 0a6c54100f Add fault injection steps to CONTRIBUTING.md Pekka Enberg 2025-08-19 09:15:49 +03:00
  • 89d152a060 antithesis: Add unreliable stress template to Docker image Pekka Enberg 2025-08-18 15:53:59 +03:00
  • 551a8f92b1 antithesis: Add unreliable libc stress template Pekka Enberg 2025-08-18 15:52:57 +03:00
  • 39dd86623e antithesis: Add unreliable libc to Docker image Pekka Enberg 2025-08-18 15:52:22 +03:00
  • 46eb3e2761 stress: Don't hang if table creation fails Pekka Enberg 2025-08-19 09:14:34 +03:00
  • 19456147ec testing: Add unreliable libc Pekka Enberg 2025-08-18 15:49:59 +03:00
  • 9233f48e08 core/io: Switch Unix I/O operations to use libc Pekka Enberg 2025-08-20 11:34:18 +03:00
  • 29a2fa1dd2 Fix Antithesis Dockerfile Pekka Enberg 2025-08-20 13:43:31 +03:00
  • ccbbe0a6b3 clippy Pere Diaz Bou 2025-08-20 12:41:27 +02:00
  • 636a3e76e6 clippy mvcc tests Pere Diaz Bou 2025-08-20 12:34:11 +02:00
  • 9e3b7b0c98 core/mvcc: store txid in conn and reset transaction state on commit Pere Diaz Bou 2025-08-20 12:23:28 +02:00
  • ffaf8580e0 mvcc/core: simple interactive transaction tests for mvcc Pere Diaz Bou 2025-08-20 12:22:31 +02:00
  • 3927aa037c core/mvcc: start first rowid at 1 Pere Diaz Bou 2025-08-20 11:22:51 +02:00
  • c3ed6f570c Merge 'SQLite C API improvements: add column type and column decltype' from Danawan Bimantoro Pekka Enberg 2025-08-20 11:24:43 +03:00
  • 9998834d3d Merge 'Fix column nullability constraint' from Pekka Enberg 2025-08-20 11:24:21 +03:00
  • 19e4aa6aeb Merge 'sim: use 'git rev-parse --show-toplevel' for getting base dir' from Jussi Saurio Jussi Saurio 2025-08-20 11:16:24 +03:00
  • e5f04ae100 Merge 'refactor/vdbe: move insert-related seeking to VDBE from BTreeCursor' from Jussi Saurio Jussi Saurio 2025-08-20 11:15:09 +03:00
  • c2208a542a Merge 'Initial pass to support per page encryption' from Avinash Sajjanshetty Pekka Enberg 2025-08-20 11:11:24 +03:00
  • 8fcb97b088 Fix MCP server mode section formatting Pekka Enberg 2025-08-20 10:58:54 +03:00
  • 494ce41d80 Turso 0.1.4 Pekka Enberg 2025-08-20 10:35:35 +03:00
  • 40a209c000 simplify feature flag usage for encryption Avinash Sajjanshetty 2025-08-13 14:53:49 +05:30
  • e6adb8992b sim: use 'git rev-parse --show-toplevel' for getting base dir Jussi Saurio 2025-08-20 09:58:21 +03:00
  • dc47cd83b1 Update CHANGELOG Pekka Enberg 2025-08-20 09:33:26 +03:00
  • d456db31db Turso 0.1.4-pre.11 Pekka Enberg 2025-08-20 09:32:10 +03:00
  • 0384a3a33b Merge 'Fix page locked panic' from Pedro Muniz Pekka Enberg 2025-08-20 09:31:26 +03:00
  • eb45a156fc Add a simple test for encryption Avinash Sajjanshetty 2025-08-13 11:42:06 +05:30
  • fc3b76de1b fix Database storage for WASM bindings Avinash Sajjanshetty 2025-08-12 21:57:54 +05:30
  • bd9b4bbfd2 encrypt/decrypt when writing/reading from DB Avinash Sajjanshetty 2025-08-12 21:57:35 +05:30
  • 657daeded3 encrypt/decrypt when writing/reading from WAL Avinash Sajjanshetty 2025-08-12 21:56:07 +05:30
  • 201262b3dd Update DatabaseStorage to pass encryption context Avinash Sajjanshetty 2025-08-12 21:55:22 +05:30
  • 94d38be1a2 Set reserved_space to 28 for encrypted databases Avinash Sajjanshetty 2025-08-12 21:54:03 +05:30
  • a6e9237c94 Set encryption key in pager and WAL Avinash Sajjanshetty 2025-08-12 21:53:43 +05:30
  • 93774ffc3b Add PRAGMA key to set the encryption key Avinash Sajjanshetty 2025-08-12 21:44:25 +05:30
  • 100a0d8e97 Add encryption module Avinash Sajjanshetty 2025-08-12 21:40:30 +05:30
  • 45376e0b35 delete printf in C test danawan 2025-08-20 12:01:55 +07:00
  • 72cdd32ba1 fix null testing danawan 2025-08-20 11:59:27 +07:00
  • d61d6c0872 when run_once fails we abort the current IOCompletions pedrocarlo 2025-08-20 01:26:19 -03:00
  • f27d4d14f2 remove polling code in UnixIO so we can implement it correctly later and so we do not fool ourselves that we have any async code there that actually runs pedrocarlo 2025-08-20 00:45:35 -03:00
  • 804bb868c7 add column decltype danawan 2025-08-20 11:28:14 +07:00