binlog2sql
binlog2sql copied to clipboard
-d 参数不能有效过滤
对于ddl,通过都是: use dbname; alter table tablename ...; 因为tablename前面没有schema名称,没有做到有效过滤,将非-d的schema也解析出来了
好像-t也不能对ddl中的表进行过滤
ddl不做库表的过滤,如果不需要ddl,可以加选项--only-dml
None of -d, -t, or --sql-type filters do anything. And I am not talking about DDL I am talking about DML. I haven't tried the --only-dml filter.