Compare commits

...

2 commits

2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ impl DataManager {
.await?;
let sqlite_client_local = ClientBuilder::new()
.path(concat_os_str!(&data_dir, "/shared.sqlite"))
.path(concat_os_str!(&data_dir, "/local.sqlite"))
.flags(OpenFlags::SQLITE_OPEN_READ_WRITE | OpenFlags::SQLITE_OPEN_NO_MUTEX)
.open()
.await?;

View file

@ -6,8 +6,8 @@ use std::fmt::Display;
macro_rules! concat_os_str {(
$base: expr, $($suffix: expr),+
) => {{
let mut base = std :: ffi :: OsString :: from ( $ base ) ;
$ ( base . push ( $ suffix ) ; ) +
let mut base = std::ffi::OsString::from($base);
$(base.push($suffix);)+
base
}}}