Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some line breaks and backslashes are missing in fix.sql generated by sync-diff-inspector #833

Open
Chad20N13 opened this issue Dec 11, 2024 · 1 comment

Comments

@Chad20N13
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
    1、upstream database : varchar field contains some newlines and backslashes (\)
    2、downstream database : varchar field contains some newlines and backslashes ()
    3、then use sync-diff-inspector compare data,
    4、Some line breaks and backslashes are missing in the fix.sql

  2. What did you expect to see?
    fix.sql have all line breaks and backslashes , just like upsteams data row.

  3. What did you see instead?
    Some line breaks and backslashes are missing in the fix.sql

  4. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
    upstream : v3.0.8
    downstream: v6.5.7
    sync-diff-inspector : v6.5.3

  5. which tool are you using?
    sync-diff-inspector : v6.5.3

  6. what versionof tool are you using (pump -V or tidb-lightning -V or syncer -V)?

@Chad20N13
Copy link
Author

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants