Commit Graph
11449 Commits
Author SHA1 Message Date
Gwendal Roué 8ba19bc982 Merge pull request #1897 from renchris/snapshot-pool-current-reader
Optimize DatabaseSnapshotPool.currentReader
2026-11-05 08:48:04 +01:00
Chris Ren 82d879e785 Optimize DatabaseSnapshotPool.currentReader
The same early-out as b43260a1 for DatabasePool, because currentReader
runs on every synchronous read.
2026-11-04 19:51:18 -06:00
Gwendal Roué b43260a17d Optimize DatabasePool.currentReader
Suggested in https://github.com/groue/GRDB.swift/issues/1896
2026-11-04 14:36:55 +01:00
Gwendal Roué 98c58f4eef Fix more typos in public documentation 2026-11-02 20:27:37 +01:00
Gwendal Roué bd7031ec9b Fix typos in the demo app 2026-11-01 21:04:16 +01:00
Gwendal Roué 909f7455e6 Fix more typos in public documentation 2026-11-01 21:01:03 +01:00
Gwendal Roué 5d9e853f24 Fix typos in code samples 2026-11-01 20:45:05 +01:00
Gwendal Roué 7a216d7d34 Fix typos in public documentation 2026-11-01 20:45:05 +01:00
Gwendal Roué 92a554cd0d Merge branch 'development' v7.12.0 2026-11-01 18:24:21 +01:00
Gwendal Roué 47c8497269 v7.12.0 2026-11-01 17:03:56 +01:00
Gwendal Roué d99e639c11 Merge pull request #1894 from groue/dev/issue-1888
Fix SharedValueObservation deadlock, ordering, and cancellation
2026-11-01 16:51:47 +01:00
Gwendal Roué 1d59d1656b Fix SharedValueObservation 2026-11-01 16:23:38 +01:00
Gwendal Roué 5fe300b733 More failing SharedValueObservation tests 2026-11-01 16:00:41 +01:00
Dylan Mace a8a5b431be Failing tests: SharedValueObservation deadlocks when a client is cancelled during a notification 2026-11-01 15:02:39 +01:00
Gwendal Roué b7b747c5bb Merge pull request #1889 from builtbysharath/open-error-message
Keep SQLite's error message when a database fails to open
2026-11-01 14:55:17 +01:00
Gwendal Roué 62f4bfe5f3 Merge pull request #1893 from groue/dev/support-statement-recompilation
Dev/support statement recompilation
2026-11-01 14:54:23 +01:00
Gwendal Roué 9601d6ac9b Row fetched from a statement do not cache statement column in order to support statement recompilation 2026-11-01 14:22:32 +01:00
Gwendal Roué dc101b2847 Failing test for the Row column cache of a recompiled statement 2026-11-01 14:21:42 +01:00
Gwendal Roué a0f184ec26 Invalidate Statement column cache after recompilation 2026-11-01 14:21:42 +01:00
Gwendal Roué b983df96e2 Failing test for SQLRequest on a recompiled statement 2026-11-01 14:21:42 +01:00
Gwendal Roué 94fa864eb7 Failing test for the column cache of a recompiled statement 2026-11-01 13:57:06 +01:00
Sharath Kumar e1a0c1afbe Skip the open error message test when URI filenames are off
sqlite_compileoption_used('USE_URI') reports whether the option is
defined, not its value, and is missing when compile-option diagnostics
are omitted. Check the error from the open instead: without URI
filenames, the path is in a missing "file:" directory and fails with
SQLITE_CANTOPEN.
2026-10-13 15:35:38 +05:30
Sharath Kumar 3f80cfccf4 Keep SQLite's error message when a database fails to open 2026-10-11 22:33:07 +05:30
Gwendal Roué 6f64c72209 Merge pull request #1879 from nesevis/fix/rowid-and-single-integer-primary-key
Fix upsert for WITHOUT ROWID tables with an INTEGER primary key
2026-09-27 09:12:49 +02:00
Gwendal Roué 8e24aec8f2 Merge pull request #1885 from groue/dev/string-with-nul-character
Add support for Strings that contain the NUL character
2026-09-26 22:22:30 +02:00
Gwendal Roué de0ce29d73 Encode strings with a NUL character
Inspired from #1880 by @nesevis
2026-09-26 16:34:14 +02:00
Gwendal Roué 9858de3249 Decode strings with a NUL character
Inspired from #1880 by @nesevis
2026-09-26 16:34:14 +02:00
Gwendal Roué fe774b3537 Performance tests for String as a statement argument 2026-09-26 13:03:16 +02:00
Gwendal Roué 550ef55c90 Fast path for String performance decoding test 2026-09-26 12:43:38 +02:00
Gwendal Roué e37c7cf306 Do not measure database access acquisition and Array building 2026-09-26 12:37:11 +02:00
Gwendal Roué 1ff66c8382 Test independance 2026-09-26 12:36:33 +02:00
Chris Kolbu 8957148d4d Performance tests for string fetching and function results 2026-09-26 12:34:37 +02:00
Gwendal Roué 23083c4668 Failing tests for strings with a NUL character used as statement argument
Inspired from #1880 by @nesevis
2026-09-26 12:06:49 +02:00
Gwendal Roué dfa942e9c0 Failing tests for decoding and encoding strings with a NUL character
Inspired from #1880 by @nesevis
2026-09-26 12:06:43 +02:00
Gwendal Roué 5d31cba4a0 Failing tests for database functions returning or accepting strings with a NUL character
Inspired from #1880 by @nesevis
2026-09-26 12:06:36 +02:00
Gwendal Roué 533286eab0 Merge pull request #1884 from groue/dev/fix-1883
Work around an SQLite bug in WAL snapshot ordering
2026-09-26 10:37:32 +02:00
Gwendal Roué ac1e5e66be Remove assertion about SQLite snapshot ordering
Fix #1883
2026-09-26 10:20:32 +02:00
Gwendal Roué 6bf7ba8f03 Merge pull request #1881 from groue/dev/fix-1873
Fix an accidentally quadratic behavior in SQLite statement compilation
2026-09-23 19:09:50 +02:00
Gwendal Roué 9f2e3b7d6b Optimize statement authorizer region accumulation
This commit is inspired by #1873 from @guidedways, who detected an unexpectedly quadratic behavior in the way we build database regions from the statement authorizer
2026-09-23 14:16:22 +02:00
Gwendal Roué c08767b500 Fix stale test
The test was checking for the presence of an SQLite bug. This bug is gone in macOS 27.0.
2026-09-15 14:36:27 +02:00
Chris Kolbu 8511cfd399 Document INTEGER PRIMARY KEY in WITHOUT ROWID tables 2026-08-18 19:55:41 +10:00
Chris Kolbu 4373b3a49b Fix failing tests for INTEGER PRIMARY KEY in WITHOUT ROWID tables 2026-08-18 19:55:41 +10:00
Chris Kolbu d4713c1fa8 Failing tests for INTEGER PRIMARY KEY in WITHOUT ROWID tables 2026-08-18 19:55:41 +10:00
Gwendal Roué 0d8cf958b4 Merge pull request #1876 from latent-9/docs/fix-doubled-word
Fix doubled word in doc comment
2026-08-08 10:56:30 +02:00
latent-9 0a9a55d15f Fix doubled word in doc comment 2026-08-08 15:07:24 +12:00
Gwendal Roué b83108d10f Merge branch 'development' v7.11.1 2026-06-18 14:07:07 +02:00
Gwendal Roué 468b8e81be v7.11.1 2026-06-18 14:06:56 +02:00
Gwendal Roué a3a29aa921 Merge pull request #1869 from MarkusSintonen/optimize-register-migration
Optimize migration registration to be O(n) instead of O(n^2)
2026-06-18 08:19:57 +02:00
Markus Sintonen f1d321139f Combine unappliedExecutions into a single loop 2026-06-17 21:06:52 +03:00
Markus Sintonen 7d489358e2 Compare migration identifier from OrderedDictionary key 2026-06-17 20:41:46 +03:00