Compare commits
No commits in common. "d25fdd0a32d5eef0dc8c80c144d09addfff61d10" and "df3c9cba8ab3dbd1058bd9967391c32d6cdb6fad" have entirely different histories.
d25fdd0a32
...
df3c9cba8a
2 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ impl DataManager {
|
|||
.await?;
|
||||
|
||||
let sqlite_client_local = ClientBuilder::new()
|
||||
.path(concat_os_str!(&data_dir, "/local.sqlite"))
|
||||
.path(concat_os_str!(&data_dir, "/shared.sqlite"))
|
||||
.flags(OpenFlags::SQLITE_OPEN_READ_WRITE | OpenFlags::SQLITE_OPEN_NO_MUTEX)
|
||||
.open()
|
||||
.await?;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue