Commit Graph

  • ee58b7bd86 Add fn read_header() to DatabaseStorage trait Jussi Saurio 2025-08-12 20:30:10 +03:00
  • a2a6feb193 Merge 'Use BufferPool owned by Database instead of a static global' from Jussi Saurio Jussi Saurio 2025-08-14 12:40:32 +03:00
  • 6a33d4e792 Merge 'sync-engine: avoid unnecessary WAL push' from Nikita Sivukhin Jussi Saurio 2025-08-14 12:26:05 +03:00
  • 34a7b2ffd4 ignore changes in the turso_sync_last_change_id Nikita Sivukhin 2025-08-14 12:39:44 +04:00
  • 8c9d648852 add test which check that we don't push without the need Nikita Sivukhin 2025-08-14 12:38:15 +04:00
  • f603a0dfc8 change log level to INFO in order to simplify debugging (DEBUG logs in the db are pretty spammy) Nikita Sivukhin 2025-08-14 12:37:49 +04:00
  • 69d8a73028 Merge 'use virtual root page for sqlite_schema' from Mikaël Francoeur Jussi Saurio 2025-08-14 11:08:11 +03:00
  • d7186c7d7b Merge 'Add support for unlikely(X)' from bit-aloo Jussi Saurio 2025-08-14 10:56:27 +03:00
  • 78f1ed979e Merge 'io_uring: Gracefully handle submission queue overflow' from Preston Thorpe Jussi Saurio 2025-08-14 10:55:17 +03:00
  • 0b17957f4e Merge 'Implement normal views' from Glauber Costa Jussi Saurio 2025-08-14 10:54:46 +03:00
  • fed70b49be Merge 'Disable unused variables in cargo clippy for CI' from Pedro Muniz Jussi Saurio 2025-08-14 10:54:18 +03:00
  • 359cba0474 Use BufferPool owned by Database instead of a static global Jussi Saurio 2025-08-13 18:31:33 +03:00
  • 32e59614c7 remove unnecessary copy instr in likelihood, likely and unlikely bit-aloo 2025-08-14 09:08:32 +05:30
  • be2c0ec6ab Merge 'Refactor: atomic ordering' from Preston Thorpe Preston Thorpe 2025-08-13 22:39:50 -04:00
  • 3840708970 Add safety comment PThorpe92 2025-08-02 23:09:57 -04:00
  • 95d448d9af Actually defer callbacks till run_once in test extension PThorpe92 2025-08-02 22:54:55 -04:00
  • ec95c3f8fb Add callback api to proc macros PThorpe92 2025-08-02 22:04:39 -04:00
  • 1bf74970bc Update test extension to new callback api PThorpe92 2025-08-02 22:04:23 -04:00
  • 0e3750b85b Integrate changes to vfs IO impl for callbacks PThorpe92 2025-08-02 22:01:02 -04:00
  • 20bf9ee2be Update vfs extension to support IO callbacks PThorpe92 2025-08-02 22:00:35 -04:00
  • 78abe72762 Merge 'fix: Handle fresh INSERTs in materialized view incremental maintenance' from Glauber Costa Preston Thorpe 2025-08-13 21:36:19 -04:00
  • dbc4acf29a handle insert with column names Wallys Ferreira 2025-08-13 23:25:09 +00:00
  • c3e29087a8 Merge 'Fix: do computations on usable_space as usize, not as u16' from Jussi Saurio Preston Thorpe 2025-08-13 17:08:43 -04:00
  • 07ef47924c use virtual root page for sqlite_schema Mikaël Francoeur 2025-08-11 20:31:58 -04:00
  • 5ab6f78f6b Implement views Glauber Costa 2025-08-12 20:01:44 -05:00
  • 337f27a433 rename some structures to mention materialized views Glauber Costa 2025-08-12 14:29:17 -05:00
  • 96be4eb40c remove the exec_* test bit-aloo 2025-08-13 22:51:36 +05:30
  • 8e6df064df remove likelihood, likely and unlikely exec methods, as we dont need them bit-aloo 2025-08-13 22:51:22 +05:30
  • 198ba6ca62 panic in vdbe if we hit likely, likelihood, and unlikely scalar method bit-aloo 2025-08-13 22:50:29 +05:30
  • eda3a82306 strip unylikely and just translate the inner value bit-aloo 2025-08-13 22:46:31 +05:30
  • e72097e2b7 strip likely and just translate the inner value bit-aloo 2025-08-13 22:46:22 +05:30
  • 887b25dd00 do not push wal unnecessary when nothing was changed locally Nikita Sivukhin 2025-08-13 20:22:10 +04:00
  • ec4bf19fc7 Gracefully handle submission queue overflow in io_uring backend PThorpe92 2025-08-13 12:07:41 -04:00
  • aaf7b39d96 Update manual.md Pekka Enberg 2025-08-13 18:52:14 +03:00
  • 29aea48405 Merge 'Document the I/O model' from Pedro Muniz Pekka Enberg 2025-08-13 18:50:58 +03:00
  • c62a9558e2 Merge 'Sync engine fixes' from Nikita Sivukhin Pekka Enberg 2025-08-13 18:49:36 +03:00
  • fbab40e5a6 Merge 'disable checkpoint: adjust semantic' from Nikita Sivukhin Pekka Enberg 2025-08-13 18:49:11 +03:00
  • 753e6689da Merge 'SDK: enable indices everywhere' from Nikita Sivukhin Pekka Enberg 2025-08-13 18:44:41 +03:00
  • e416d91df2 Proposed I/O model pedrocarlo 2025-07-28 11:26:12 -03:00
  • eeaa3c788a disable unused variables in cargo clippy pedrocarlo 2025-08-13 11:59:38 -03:00
  • fd72a2ff20 Fix: do computations on usable_space as usize, not as u16 Jussi Saurio 2025-08-13 17:00:36 +03:00
  • f1475bd5ac Remove bool return value from page set_locked PThorpe92 2025-08-13 10:17:33 -04:00
  • 614a0a45a6 Relax and fix memory ordering PThorpe92 2025-08-11 18:23:41 -04:00
  • 56b86cd5f5 add comment about :memory: in sync-engine Nikita Sivukhin 2025-08-13 17:16:46 +04:00
  • eff8d8540d fix bug and add test with concurrent dbs in sync Nikita Sivukhin 2025-08-13 17:08:07 +04:00
  • 80476b3069 bypass database registry for all dbs which path starts with :memory: prefix Nikita Sivukhin 2025-08-12 23:34:01 +04:00
  • 615207fb9c use proper event loop in core connection in order to handle all cases properly Nikita Sivukhin 2025-08-13 12:29:39 +04:00
  • 2ca8a15dcc switch from Buffer to Vec<u8> for now as buffers are not supported by default in browser Nikita Sivukhin 2025-08-13 12:29:03 +04:00
  • 33ef1aa0da add tracing option to the SyncEngine Nikita Sivukhin 2025-08-12 23:33:28 +04:00
  • 0d9d0762a9 fix clippy Nikita Sivukhin 2025-08-13 16:57:44 +04:00
  • 325e990d6e fix clippy Nikita Sivukhin 2025-08-13 16:55:23 +04:00
  • 6b97f2584f enable indices in Dart SDK Nikita Sivukhin 2025-08-13 16:47:14 +04:00
  • d1eab18670 enable indices in java sdk Nikita Sivukhin 2025-08-13 16:46:25 +04:00
  • 0f1d954319 enable indices in Rust SDK Nikita Sivukhin 2025-08-13 16:28:45 +04:00
  • 70581aca5b enable indices in go sdk Nikita Sivukhin 2025-08-13 16:24:04 +04:00
  • 857f9147f6 enable indices in the python SDK Nikita Sivukhin 2025-08-13 16:10:27 +04:00
  • bfa33a27e2 enable indices in database JS sdk Nikita Sivukhin 2025-08-12 23:32:24 +04:00
  • 7e76970035 fix: Handle fresh INSERTs in materialized view incremental maintenance Glauber Costa 2025-08-12 20:34:57 -05:00
  • 734750daaa fix after rename Nikita Sivukhin 2025-08-13 12:53:33 +04:00
  • 5838efe7dd rename flag to wal_auto_checkpoint_disabled Nikita Sivukhin 2025-08-13 12:53:19 +04:00
  • f9f56f454c change semantic of wal_disable_checkpoint flag - it disable only automatic checkpoint (on shutdown or when WAL is grows too big) Nikita Sivukhin 2025-08-13 12:49:56 +04:00
  • 0a12b2d74a disable auto-checkpoint for opened connections in the sync engine Nikita Sivukhin 2025-08-13 12:49:40 +04:00
  • 6e0ad0a483 open draft database only once Nikita Sivukhin 2025-08-13 12:33:05 +04:00
  • a78992e309 add assertion with more context Nikita Sivukhin 2025-08-13 12:33:42 +04:00
  • c3c7463193 add debug logs to the memory io Nikita Sivukhin 2025-08-12 23:33:48 +04:00
  • 57cedcac72 Fix JavaScript getting started Pekka Enberg 2025-08-13 13:26:40 +03:00
  • 901191d1ee Update README.md Pekka Enberg 2025-08-13 13:24:00 +03:00
  • 31b826cca7 Merge 'Manual updates' from Pekka Enberg Pekka Enberg 2025-08-13 13:17:50 +03:00
  • 09d64b2290 docs/manual: Drop redundant section place-holder Pekka Enberg 2025-08-13 12:55:56 +03:00
  • c942239a5a docs/manual: Document more of SQLite C API Pekka Enberg 2025-08-13 12:54:37 +03:00
  • 770b43caa6 docs/manual: Drop indexing from list of limitations Pekka Enberg 2025-08-13 12:47:21 +03:00
  • 379896d087 docs/manual: Document some shell commands Pekka Enberg 2025-08-13 12:46:17 +03:00
  • bbc7994f59 docs/manual: Document shell command line options Pekka Enberg 2025-08-13 12:41:41 +03:00
  • ece8f106d9 docs/manual: Fix JavaScript section Pekka Enberg 2025-08-13 12:26:31 +03:00
  • 9a0d5cebe9 docs/manual: Fix limitations section heading style Pekka Enberg 2025-08-13 12:26:11 +03:00
  • db0d80310f Update manual.md Pekka Enberg 2025-08-13 11:57:47 +03:00
  • c856472dbe docs: Add a section on MVCC internals Pekka Enberg 2025-07-18 09:02:35 +03:00
  • 1a625e7bf6 Merge 'Wait for I/O completions' from Pedro Muniz Jussi Saurio 2025-08-13 11:23:08 +03:00
  • 49a0a3417a finish UPDATE TcMits 2025-08-13 15:11:32 +07:00
  • b8ad44bf07 finish INSERT TcMits 2025-08-13 14:45:34 +07:00
  • 187ffb5698 adjust test pedrocarlo 2025-08-12 17:22:01 -03:00
  • 8d48be0e61 cleanup pedrocarlo 2025-08-12 15:46:25 -03:00
  • fbe7e685ce adjust mvcc code to return completions in state machines pedrocarlo 2025-08-12 15:38:02 -03:00
  • c1975cdfa1 ptrmap functions should bubble completions pedrocarlo 2025-08-12 15:35:57 -03:00
  • b6e200dbed adjust cacheflush calls outside of pager pedrocarlo 2025-08-12 15:31:24 -03:00
  • 78cb61c1fe before stepping to next insntruction check for io pedrocarlo 2025-08-12 15:25:39 -03:00
  • c381fe3844 bubble completions in Sorter pedrocarlo 2025-08-12 15:21:27 -03:00
  • 0b6ab9d969 bubble completions in execute pedrocarlo 2025-08-12 15:14:56 -03:00
  • 925d4b15e1 adjust more pager IO returns pedrocarlo 2025-08-12 15:09:25 -03:00
  • 56905fc340 refactor checkpoint in pager pedrocarlo 2025-08-12 14:25:23 -03:00
  • a7f5912e7d adjust wal checkpoint to return completions pedrocarlo 2025-08-12 14:25:23 -03:00
  • 10ad43d9e0 sync should return completion pedrocarlo 2025-08-12 14:25:23 -03:00
  • a7873d8907 remove write counters from Wal impls pedrocarlo 2025-08-12 14:25:23 -03:00
  • 494fdb828b buuble completions in pager pedrocarlo 2025-08-12 14:18:44 -03:00
  • ccc22863c6 remove return_if_locked and return_if_locked_maybe_load pedrocarlo 2025-08-12 14:08:57 -03:00
  • f95625a06c bubble completions in btree pedrocarlo 2025-08-12 13:35:32 -03:00
  • 82b75330bc adjust types.rs util.rs view.rs and mvcc to bubble io pedrocarlo 2025-08-12 13:29:55 -03:00
  • 2e68296107 create IOCompletions pedrocarlo 2025-08-12 12:21:33 -03:00
  • 43628e2a9a Merge 'IO Cleanups to use and ' from Pedro Muniz Jussi Saurio 2025-08-13 10:24:15 +03:00
  • 161c87212e finish all DROP TcMits 2025-08-13 14:07:28 +07:00