mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 12:56:30 +03:00
cleanup
This commit is contained in:
committed by
holger krekel
parent
e7f0745010
commit
aaa5b820d9
@@ -486,7 +486,7 @@ impl Imap {
|
|||||||
}
|
}
|
||||||
info!(
|
info!(
|
||||||
context,
|
context,
|
||||||
0, "IMAP unsetup_handle step 2 (acquired session.lock)"
|
0, "IMAP unsetup_handle step 2 (acquiring session.lock)"
|
||||||
);
|
);
|
||||||
let session = self.session.lock().unwrap().take();
|
let session = self.session.lock().unwrap().take();
|
||||||
if session.is_some() {
|
if session.is_some() {
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ impl Sql {
|
|||||||
P: IntoIterator,
|
P: IntoIterator,
|
||||||
P::Item: rusqlite::ToSql,
|
P::Item: rusqlite::ToSql,
|
||||||
{
|
{
|
||||||
eprintln!("SQL EXECUTE: {}", sql);
|
|
||||||
self.start_stmt(sql.to_string());
|
self.start_stmt(sql.to_string());
|
||||||
self.with_conn(|conn| conn.execute(sql, params).map_err(Into::into))
|
self.with_conn(|conn| conn.execute(sql, params).map_err(Into::into))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user