Skip to content

Commit

Permalink
sql: fix implicit txn flag in console
Browse files Browse the repository at this point in the history
Release note (bug fix): Fixed the statement activity page so that it no
longer shows multi-statement implicit transactions as "explicit."
  • Loading branch information
rafiss committed Nov 23, 2022
1 parent 59de8e8 commit 832b651
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/sql/conn_executor_exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -1117,8 +1117,7 @@ func (ex *connExecutor) dispatchToExecutionEngine(

// include gist in error reports
ctx = withPlanGist(ctx, planner.instrumentation.planGist.String())

if planner.autoCommit {
if planner.extendedEvalCtx.TxnImplicit {
planner.curPlan.flags.Set(planFlagImplicitTxn)
}

Expand Down

0 comments on commit 832b651

Please sign in to comment.