binlog2sql icon indicating copy to clipboard operation
binlog2sql copied to clipboard

-d 参数不能有效过滤

Open liguobiao520 opened this issue 7 years ago • 3 comments

对于ddl,通过都是: use dbname; alter table tablename ...; 因为tablename前面没有schema名称,没有做到有效过滤,将非-d的schema也解析出来了

liguobiao520 avatar Aug 08 '18 08:08 liguobiao520

好像-t也不能对ddl中的表进行过滤

liguobiao520 avatar Aug 08 '18 10:08 liguobiao520

ddl不做库表的过滤,如果不需要ddl,可以加选项--only-dml

danfengcao avatar Aug 12 '18 11:08 danfengcao

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.

githubjsorg avatar Apr 18 '22 20:04 githubjsorg