mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 04:24:21 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user