core: Make strict schema support experimental

It's not tested properly so let's mark it as experimental for now.

Fixes #2775
This commit is contained in:
Pekka Enberg
2025-09-02 15:19:18 +03:00
parent 8f7e43b32b
commit 12cf4d2e72
14 changed files with 136 additions and 112 deletions

View File

@@ -133,9 +133,7 @@ impl<P: ProtocolIO, Ctx> DatabaseSyncEngine<P, Ctx> {
main_db_path,
db_file.clone(),
OpenFlags::Create,
false,
true,
false,
turso_core::DatabaseOpts::new().with_indexes(true),
)
.unwrap();
let tape_opts = DatabaseTapeOpts {
@@ -179,9 +177,7 @@ impl<P: ProtocolIO, Ctx> DatabaseSyncEngine<P, Ctx> {
&self.revert_db_wal_path,
self.db_file.clone(),
OpenFlags::Create,
false,
true,
false,
turso_core::DatabaseOpts::new().with_indexes(true),
)?;
let conn = db.connect()?;
conn.wal_auto_checkpoint_disable();