From a97aa45d5a0346350e30c932be2c5ac43b0b0316 Mon Sep 17 00:00:00 2001 From: D3Hunter Date: Fri, 20 Sep 2024 10:30:51 +0800 Subject: [PATCH] meta: export some deprecated action types for cdc (#56170) ref pingcap/tidb#54436 --- pkg/meta/model/job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/meta/model/job.go b/pkg/meta/model/job.go index bec4012419941..ab519f0bd7751 100644 --- a/pkg/meta/model/job.go +++ b/pkg/meta/model/job.go @@ -70,8 +70,8 @@ const ( ActionCreateSequence ActionType = 34 ActionAlterSequence ActionType = 35 ActionDropSequence ActionType = 36 - _DEPRECATEDActionAddColumns ActionType = 37 // Deprecated, we use ActionMultiSchemaChange instead. - _DEPRECATEDActionDropColumns ActionType = 38 // Deprecated, we use ActionMultiSchemaChange instead. + ActionAddColumns ActionType = 37 // Deprecated, we use ActionMultiSchemaChange instead. + ActionDropColumns ActionType = 38 // Deprecated, we use ActionMultiSchemaChange instead. ActionModifyTableAutoIDCache ActionType = 39 ActionRebaseAutoRandomBase ActionType = 40 ActionAlterIndexVisibility ActionType = 41