Skip to content

Commit 4005322

Browse files
committed
config: do not load innodb_lock_wait_timeout when to load play replayer
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
1 parent 312bd6b commit 4005322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/executor/plan_replayer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ func loadStats(ctx sessionctx.Context, f *zip.File) error {
454454
if h == nil {
455455
return errors.New("plan replayer: hanlde is nil")
456456
}
457-
return h.LoadStatsFromJSON(context.Background(), ctx.GetInfoSchema().(infoschema.InfoSchema), jsonTbl, 0)
457+
return h.LoadStatsFromJSON(context.Background(), ctx.GetInfoSchema().(infoschema.InfoSchema), jsonTbl, 1)
458458
}
459459

460460
// Update updates the data of the corresponding table.

0 commit comments

Comments
 (0)