mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-01 06:14:23 +01:00
clippy i hate you so much
This commit is contained in:
@@ -760,10 +760,8 @@ pub fn handle_program_error(
|
||||
if let Err(e) = pager.end_tx(false, schema_did_change, connection, false) {
|
||||
tracing::error!("end_tx failed: {e}");
|
||||
}
|
||||
} else {
|
||||
if let Err(e) = pager.end_read_tx() {
|
||||
tracing::error!("end_read_tx failed: {e}");
|
||||
}
|
||||
} else if let Err(e) = pager.end_read_tx() {
|
||||
tracing::error!("end_read_tx failed: {e}");
|
||||
}
|
||||
connection.transaction_state.replace(TransactionState::None);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user