Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
I found that creating a table by using special comment syntax with /*!90000 */ caused TiCDC to report an error.
The following step:
- In TiDB :
create table cdc_test (id varchar(10) primary key ,c1 varchar(10)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin/*!90000 SHARD_ROW_ID_BITS=4 PRE_SPLIT_REGIONS=3 */
2. What did you expect to see? (Required)
TiCDC can sync DDL to downstream successfully.
3. What did you see instead (Required)
TiCDC cause the error
[WARN] [mysql.go:208] ["execute DDL with error, retry later"] [query="create table cdc_test (id varc
har(10) primary key ,c1 varchar(10)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin/*!90000 /*T! SHARD_ROW_ID_BITS=4 PRE_SPLIT_REGIONS=3 */ */"] [error="[CDC:ErrMySQLTxnError]Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 182 near \"*/\" "]
4. What is your TiDB version? (Required)
TiDB & TiCDC: v5.0.3
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
I found that creating a table by using special comment syntax with
/*!90000 */caused TiCDC to report an error.The following step:
2. What did you expect to see? (Required)
TiCDC can sync DDL to downstream successfully.
3. What did you see instead (Required)
TiCDC cause the error
4. What is your TiDB version? (Required)
TiDB & TiCDC: v5.0.3