mirror of
https://github.com/isar/rusqlite.git
synced 2025-12-21 19:02:23 +08:00
Don't implement Into<RawStatement> for Statement
This commit is contained in:
committed by
Thom Chiovoloni
parent
6b4f207dc1
commit
f7a573e44a
@@ -84,7 +84,7 @@ impl Drop for CachedStatement<'_> {
|
||||
#[allow(unused_must_use)]
|
||||
fn drop(&mut self) {
|
||||
if let Some(stmt) = self.stmt.take() {
|
||||
self.cache.cache_stmt(stmt.into());
|
||||
self.cache.cache_stmt(unsafe { stmt.into_raw() });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user