From 9371d63830c94b2f0c2bd0bf4de88fbc05682e11 Mon Sep 17 00:00:00 2001 From: Chunzhu Li Date: Thu, 1 Jun 2023 17:40:11 +0800 Subject: [PATCH] fix --- drainer/util.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drainer/util.go b/drainer/util.go index d39d02ab7..ff573d1cd 100644 --- a/drainer/util.go +++ b/drainer/util.go @@ -390,15 +390,3 @@ func mockCreateSchemaJob(dbInfo *model.DBInfo, schemaVersion int64) *model.Job { }, } } - -func mockCreateTableJob(tableInfo *model.TableInfo, schemaID, schemaVersion int64) *model.Job { - return &model.Job{ - Type: model.ActionCreateTable, - State: model.JobStateDone, - SchemaID: schemaID, - BinlogInfo: &model.HistoryInfo{ - SchemaVersion: schemaVersion, - TableInfo: tableInfo, - }, - } -}