diff --git a/dm/tests/all_mode/conf/dm-task.yaml b/dm/tests/all_mode/conf/dm-task.yaml index 851519b4760..b675b937874 100644 --- a/dm/tests/all_mode/conf/dm-task.yaml +++ b/dm/tests/all_mode/conf/dm-task.yaml @@ -42,7 +42,7 @@ filters: # filter rules, mysql instance can ref rules in it user-filter-1: schema-pattern: "*" # pattern of the upstream schema name, wildcard characters (*?) are supported table-pattern: "*" # pattern of the upstream table name, wildcard characters (*?) are supported - events: ["truncate table", "drop table"] # ignore truncate/drop table ddl + events: ["truncate table", "drop table", "truncate"] # ignore truncate/drop table ddl action: Ignore mydumpers: diff --git a/go.mod b/go.mod index c4852fbab28..7a74ebc14b5 100644 --- a/go.mod +++ b/go.mod @@ -63,7 +63,7 @@ require ( github.com/pingcap/kvproto v0.0.0-20230928035022-1bdcc25ed63c github.com/pingcap/log v1.1.1-0.20221116035753-734d527bc87c github.com/pingcap/tidb v1.1.0-beta.0.20231124055343-a06279f27e4c - github.com/pingcap/tidb-tools v7.0.1-0.20230410100500-0bbe5f0cd5c9+incompatible + github.com/pingcap/tidb-tools v7.0.1-0.20231228094724-d6c7fc83380a+incompatible github.com/pingcap/tidb/parser v0.0.0-20231124055343-a06279f27e4c github.com/prometheus/client_golang v1.13.0 github.com/prometheus/client_model v0.2.0 diff --git a/go.sum b/go.sum index ee0a6a115dc..886ece1ac1f 100644 --- a/go.sum +++ b/go.sum @@ -1058,8 +1058,8 @@ github.com/pingcap/tidb v1.1.0-beta.0.20220511160835-98c31070d958/go.mod h1:luW4 github.com/pingcap/tidb v1.1.0-beta.0.20231124055343-a06279f27e4c h1:P8wqoBhtW+jrY8nMGxWhpKC+zp4wTm/jZH3/I19tm1E= github.com/pingcap/tidb v1.1.0-beta.0.20231124055343-a06279f27e4c/go.mod h1:6gR6jnvljZJ2JuNIhKGuL32aQAo2i/vmBEmQ3RQUMFg= github.com/pingcap/tidb-dashboard v0.0.0-20220117082709-e8076b5c79ba/go.mod h1:4hk/3owVGWdvI9Kx6yCqqvM1T5PVgwyQNyMQxD3rwfc= -github.com/pingcap/tidb-tools v7.0.1-0.20230410100500-0bbe5f0cd5c9+incompatible h1:LVju+7gUyr1tkM5ixlISEMagwsBPrJTMm90t4MIUyMw= -github.com/pingcap/tidb-tools v7.0.1-0.20230410100500-0bbe5f0cd5c9+incompatible/go.mod h1:XGdcy9+yqlDSEMTpOXnwf3hiTeqrV6MN/u1se9N8yIM= +github.com/pingcap/tidb-tools v7.0.1-0.20231228094724-d6c7fc83380a+incompatible h1:D4NV5MQhR3WZZzYITVPKrzAkqLK+ue9caUvfAcdAMsE= +github.com/pingcap/tidb-tools v7.0.1-0.20231228094724-d6c7fc83380a+incompatible/go.mod h1:XGdcy9+yqlDSEMTpOXnwf3hiTeqrV6MN/u1se9N8yIM= github.com/pingcap/tidb/parser v0.0.0-20211011031125-9b13dc409c5e/go.mod h1:e1MGCA9Sg3T8jid8PKAEq5eYVuMMCq4n8gJ+Kqp4Plg= github.com/pingcap/tidb/parser v0.0.0-20220511160835-98c31070d958/go.mod h1:ElJiub4lRy6UZDb+0JHDkGEdr6aOli+ykhyej7VCLoI= github.com/pingcap/tidb/parser v0.0.0-20221126021158-6b02a5d8ba7d/go.mod h1:ElJiub4lRy6UZDb+0JHDkGEdr6aOli+ykhyej7VCLoI=