should rewrite the ddl_query in binlog if split the ddl_query into multi ddl job #11410
Labels
component/binlog
component/tools
severity/minor
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
type/stale
This issue has not been updated for a long time.
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error.
create table a(id int);
create table b(id int);
drop table a,b;
What did you expect to see?
receive two ddl binlog, one is
drop table a
, one isdrop table b
What did you see instead?
receive two ddl binlog, both ddl_query is
drop table a, b
in
tidb/executor/ddl.go
Line 247 in f891204
it will run one ddl job for one table, but the ddl_query is the origin query
drop table a,b
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: