Remove a redundant GetInfoSchema call (#9640)

This commit is contained in:
goroutine
2019-03-11 17:28:58 +08:00
committed by GitHub
parent 35829101ae
commit fc7458eef2

View File

@ -271,7 +271,7 @@ func CompileExecutePreparedStmt(ctx sessionctx.Context, ID uint32, args ...inter
}
stmt := &ExecStmt{
InfoSchema: GetInfoSchema(ctx),
InfoSchema: is,
Plan: execPlan,
StmtNode: execStmt,
Ctx: ctx,