From 2a7a65c6f4b4ff0196ca42d2680e6167d61b6994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Tue, 30 Apr 2024 09:47:33 +0200 Subject: [PATCH] Support Sequences (#10203) close pingcap/tiflow#4559 --- dm/pkg/parser/common.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dm/pkg/parser/common.go b/dm/pkg/parser/common.go index ba7ec7e51d5..e45e064a936 100644 --- a/dm/pkg/parser/common.go +++ b/dm/pkg/parser/common.go @@ -197,6 +197,9 @@ func SplitDDL(stmt ast.StmtNode, schema string) (sqls []string, err error) { ) switch v := stmt.(type) { + case *ast.CreateSequenceStmt: + case *ast.AlterSequenceStmt: + case *ast.DropSequenceStmt: case *ast.AlterDatabaseStmt: case *ast.CreateDatabaseStmt: v.IfNotExists = true