You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: mo-dump SQL embeds raw NUL in VARBINARY/TEXT and default import stops after replacing database #30554
mo-dump 返回 0 并输出 MODUMP SUCCESS。默认 mysql 客户端导入在 INSERT 处返回:
ERROR at line 9: ASCII '\0' appeared in the statement, but this is not allowed unless option --binary-mode is enabled and mysql is run in non-interactive mode.
changed the title [-][Bug]: mo-dump SQL dump embeds raw NUL in VARBINARY and default import stops after replacing database[/-][+][Bug]: mo-dump SQL embeds raw NUL in VARBINARY/TEXT and default import stops after replacing database[/+]on Oct 19, 2026
This report is now tracked together with #30673. The canonical issue retains explicit acceptance cases for the behavior described here. This is an administrative duplicate/consolidation closure only; the underlying defect is not claimed fixed. The original description and discussion remain available on this issue.
Activity
[-][Bug]: mo-dump SQL dump embeds raw NUL in VARBINARY and default import stops after replacing database[/-][+][Bug]: mo-dump SQL embeds raw NUL in VARBINARY/TEXT and default import stops after replacing database[/+]Ariznawlll commentedon Oct 19, 2026
补测
TEXT合法值中含 NUL 的边界:三份独立源表均有HEX(v)=610062(a\0b)和 BLOBHEX(b)=00FF415C。三份 SQL dump 都显示成功,但默认mysql < dump.sql均因原始\0在 INSERT 处退出,恢复表为 0 行;改用mysql --binary-mode=1后三份都恢复 3 行,HEX(v)/HEX(b)与源端一致。这与原 issue 的 VARBINARY 是同一 SQL 原始 NUL 根因,修复及回归请一并覆盖 TEXT。另测 CSV 导入虽返回成功,但 BLOB 的00FF415C变为00EFBFBD415C(3/3);这是已知 mo_dump#45 的二进制 CSV 路径,不在此单重复跟踪。XuPeng-SH commentedon Oct 22, 2026
This report is now tracked together with #30673. The canonical issue retains explicit acceptance cases for the behavior described here. This is an administrative duplicate/consolidation closure only; the underlying defect is not claimed fixed. The original description and discussion remain available on this issue.