From fc7458eef271b45d4fdb8b2c74c3f49ea52ca415 Mon Sep 17 00:00:00 2001 From: goroutine Date: Mon, 11 Mar 2019 17:28:58 +0800 Subject: [PATCH] Remove a redundant GetInfoSchema call (#9640) --- executor/prepared.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor/prepared.go b/executor/prepared.go index e41fdc044e..d720812ee4 100644 --- a/executor/prepared.go +++ b/executor/prepared.go @@ -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,