Skip to content

Commit

Permalink
bug fix get proc context (matrixorigin#17820)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpegeric committed Aug 8, 2024
1 parent 45abb75 commit 27816f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/plan/function/stage_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func runSql(proc *process.Process, sql string) (executor.Result, error) {
WithDatabase(proc.GetSessionInfo().Database).
WithTimeZone(proc.GetSessionInfo().TimeZone).
WithAccountID(proc.GetSessionInfo().AccountId)
return exec.Exec(proc.Ctx, sql, opts)
return exec.Exec(proc.GetTopContext(), sql, opts)
}

func credentialsToMap(cred string) (map[string]string, error) {
Expand Down

0 comments on commit 27816f2

Please sign in to comment.