mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
Mark MVCCDatabaseOpen() as unsafe
This commit is contained in:
parent
db1e313aca
commit
3ecb0fb2a9
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ type Db = database::Database<Clock, Storage, tokio::sync::Mutex<Inner>>;
|
|||
static INIT_RUST_LOG: std::sync::Once = std::sync::Once::new();
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn MVCCDatabaseOpen(path: *const std::ffi::c_char) -> MVCCDatabaseRef {
|
||||
pub unsafe extern "C" fn MVCCDatabaseOpen(path: *const std::ffi::c_char) -> MVCCDatabaseRef {
|
||||
INIT_RUST_LOG.call_once(|| {
|
||||
tracing_subscriber::fmt::init();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue