Skip to content

Commit

Permalink
Stage READ/WRITE support and restrict URL format (matrixorigin#17820)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpegeric committed Aug 21, 2024
1 parent add027d commit 009bb8b
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 @@ -159,7 +159,7 @@ func getS3ServiceFromProvider(provider string) (string, error) {
}

func runSql(proc *process.Process, sql string) (executor.Result, error) {
v, ok := moruntime.ProcessLevelRuntime().GetGlobalVariables(moruntime.InternalSQLExecutor)
v, ok := moruntime.ServiceRuntime(proc.GetService()).GetGlobalVariables(moruntime.InternalSQLExecutor)
if !ok {
panic("missing lock service")
}
Expand Down

0 comments on commit 009bb8b

Please sign in to comment.