We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5006c64 commit 41c6acaCopy full SHA for 41c6aca
libsql/src/local/connection.rs
@@ -101,13 +101,6 @@ impl Connection {
101
102
/// Disconnect from the database.
103
pub fn disconnect(&mut self) {
104
- // Clean up the authorizer before closing
105
- unsafe {
106
- let rc = libsql_sys::ffi::sqlite3_set_authorizer(self.handle(), None, std::ptr::null_mut());
107
- if rc != ffi::SQLITE_OK {
108
- tracing::error!("Failed to clear authorizer during disconnect");
109
- }
110
111
if Arc::get_mut(&mut self.drop_ref).is_some() {
112
unsafe { libsql_sys::ffi::sqlite3_close_v2(self.raw) };
113
}
0 commit comments