binlog2sql icon indicating copy to clipboard operation
binlog2sql copied to clipboard

start-position 不生效

Open Fan-sx opened this issue 1 year ago • 2 comments

start-position 不生效,使用了 --start-pos= --stop-pos= 参数不生效,请问是我用法问题,还是一直存在此bug

python binlogfile2sql.py -h localhost -P3306 -uroot -p'123456' -dry-cloud -t sch_children  -f D:/data/mysql-bin.000078 --start-position=334207 --stop-position=26578922 -B  > roll_bak.sql

Fan-sx avatar May 21 '24 10:05 Fan-sx

报什么错呢

---原始邮件--- 发件人: @.> 发送时间: 2024年5月21日(周二) 晚上6:46 收件人: @.>; 抄送: @.***>; 主题: [michael-liumh/binlog2sql] start-position 不生效 (Issue #10)

start-position 不生效,使用了 --start-pos= 和 --stop-pos= 参数不生效,请问是我用法问题,还是一直存在此bug python binlogfile2sql.py -h localhost -P3306 -uroot -p'123456' -dry-cloud -t sch_children -f D:/data/mysql-bin.000078 --start-position=334207 --stop-position=26578922 -B > roll_bak.sql

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

michael-liumh avatar May 21 '24 10:05 michael-liumh

报什么错呢 ---原始邮件--- 发件人: @.> 发送时间: 2024年5月21日(周二) 晚上6:46 收件人: @.>; 抄送: @.>; 主题: [michael-liumh/binlog2sql] start-position 不生效 (Issue #10) start-position 不生效,使用了 --start-pos= 和 --stop-pos= 参数不生效,请问是我用法问题,还是一直存在此bug python binlogfile2sql.py -h localhost -P3306 -uroot -p'123456' -dry-cloud -t sch_children -f D:/data/mysql-bin.000078 --start-position=334207 --stop-position=26578922 -B > roll_bak.sql — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

不会报错,能够正常出结果,只是结果文件中是全部的记录,跟不加 --start-pos 的结果是一样的

Fan-sx avatar May 22 '24 01:05 Fan-sx

已修复

michael-liumh avatar Dec 29 '24 14:12 michael-liumh