core: Initial pass on synchronous pragma

This adds support for "OFF" and "FULL" (default) synchronous modes. As
future work, we need to add NORMAL and EXTRA as well because
applications expect them.
This commit is contained in:
Pekka Enberg
2025-08-28 15:20:23 +03:00
parent 878147b931
commit 44ed4d562f
6 changed files with 73 additions and 6 deletions

View File

@@ -1360,6 +1360,8 @@ pub enum PragmaName {
QueryOnly,
/// Returns schema version of the database file.
SchemaVersion,
/// Control database synchronization mode (OFF | FULL | NORMAL | EXTRA)
Synchronous,
/// returns information about the columns of a table
TableInfo,
/// enable capture-changes logic for the connection