mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-16 02:52:25 +08:00
Do not use Connection::handle()
https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.handle ``` You should not need to use this function... ``` And use `decode_result`...
This commit is contained in:
@@ -360,6 +360,12 @@ impl InnerConnection {
|
||||
)),
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
#[cfg(feature = "release_memory")]
|
||||
pub fn release_memory(&self) -> Result<()> {
|
||||
self.decode_result(unsafe { ffi::sqlite3_db_release_memory(self.db) })
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for InnerConnection {
|
||||
|
Reference in New Issue
Block a user