Skip to content

Commit

Permalink
Fix copypasta error in tx
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Jan 18, 2023
1 parent 709c831 commit 8fb2ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query-engine/query-engine/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ async fn transaction_commit_handler(
capturer.start_capturing().await;
}

let result = state.cx.executor.rollback_tx(tx_id).await;
let result = state.cx.executor.commit_tx(tx_id).await;

let telemetry = if let telemetry::capturing::Capturer::Enabled(capturer) = capture_config {
capturer.fetch_captures().await
Expand Down

0 comments on commit 8fb2ae5

Please sign in to comment.