mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 04:24:21 +01:00
Encryption support for database header page
This commit is contained in:
@@ -138,8 +138,8 @@ impl<P: ProtocolIO> DatabaseSyncEngine<P> {
|
||||
db_file.clone(),
|
||||
OpenFlags::Create,
|
||||
turso_core::DatabaseOpts::new().with_indexes(true),
|
||||
)
|
||||
.unwrap();
|
||||
None,
|
||||
)?;
|
||||
let tape_opts = DatabaseTapeOpts {
|
||||
cdc_table: None,
|
||||
cdc_mode: Some("full".to_string()),
|
||||
@@ -184,6 +184,7 @@ impl<P: ProtocolIO> DatabaseSyncEngine<P> {
|
||||
self.db_file.clone(),
|
||||
OpenFlags::Create,
|
||||
turso_core::DatabaseOpts::new().with_indexes(true),
|
||||
None,
|
||||
)?;
|
||||
let conn = db.connect()?;
|
||||
conn.wal_auto_checkpoint_disable();
|
||||
|
||||
Reference in New Issue
Block a user