mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
Remove close from Drop impl
This commit is contained in:
parent
eecf6ae6e6
commit
e134bd19da
1 changed files with 0 additions and 6 deletions
|
@ -343,12 +343,6 @@ pub struct Connection {
|
|||
cache_size: Cell<i32>,
|
||||
}
|
||||
|
||||
impl Drop for Connection {
|
||||
fn drop(&mut self) {
|
||||
let _ = self.close();
|
||||
}
|
||||
}
|
||||
|
||||
impl Connection {
|
||||
#[instrument(skip_all, level = Level::TRACE)]
|
||||
pub fn prepare(self: &Rc<Connection>, sql: impl AsRef<str>) -> Result<Statement> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue