Remove close from Drop impl

This commit is contained in:
PThorpe92 2025-06-10 09:16:02 -04:00 committed by Jussi Saurio
parent eecf6ae6e6
commit e134bd19da

View file

@ -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> {