Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
LucianBuzzo committed Jan 23, 2025
1 parent a90f704 commit d17f59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query-engine/core/src/interactive_transactions/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ impl ItxManager {
pub async fn rollback_tx(&self, tx_id: &TxId) -> crate::Result<()> {
let transaction_entry = self.get_transaction(tx_id, "rollback").await?;
let mut tx = transaction_entry.lock().await;
let depth = tx.depth()?;
let depth = tx.depth().unwrap_or(0);
if depth > 1 {
tx.rollback_to_savepoint().await
} else {
Expand Down

0 comments on commit d17f59a

Please sign in to comment.