@@ -84,7 +84,7 @@ enum DbType {
8484 path : String ,
8585 flags : OpenFlags ,
8686 encryption_config : Option < EncryptionConfig > ,
87- skip_saftey_assert : bool ,
87+ skip_safety_assert : bool ,
8888 } ,
8989 #[ cfg( feature = "replication" ) ]
9090 Sync {
@@ -166,7 +166,7 @@ cfg_core! {
166166 path: db_path. into( ) ,
167167 flags,
168168 encryption_config: None ,
169- skip_saftey_assert : false ,
169+ skip_safety_assert : false ,
170170 } ,
171171 max_write_replication_index: Default :: default ( ) ,
172172 } )
@@ -458,7 +458,7 @@ cfg_replication! {
458458 DbType :: Sync { db, .. } => {
459459 let path = db. path( ) . to_string( ) ;
460460 Ok ( Database {
461- db_type: DbType :: File { path, flags: OpenFlags :: default ( ) , encryption_config: None , skip_saftey_assert : false } ,
461+ db_type: DbType :: File { path, flags: OpenFlags :: default ( ) , encryption_config: None , skip_safety_assert : false } ,
462462 max_write_replication_index: Default :: default ( ) ,
463463 } )
464464 }
@@ -580,11 +580,11 @@ impl Database {
580580 path,
581581 flags,
582582 encryption_config,
583- skip_saftey_assert ,
583+ skip_safety_assert ,
584584 } => {
585585 use crate :: local:: impls:: LibsqlConnection ;
586586
587- let db = if !skip_saftey_assert {
587+ let db = if !skip_safety_assert {
588588 crate :: local:: Database :: open ( path, * flags) ?
589589 } else {
590590 unsafe { crate :: local:: Database :: open_raw ( path, * flags) ? }
0 commit comments