Comment 6 for bug 1034717

Revision history for this message
Brian Fraser (fraserbn) wrote : Re: pt-table-sync errors with varchar primary key

Ryan, unfortunately, no dice, the second sql didn't reproduce the bug for me. Since it does for you, mind sending the command line and if possible, the PTDEBUG output?

For the division by zero bug, admittedtly, that would be ideal, but by the time the base==1 case comes up, we're deep inside the tool, and because of some design limitations changing the algorithm just isn't feasible; pt-table-sync is long due an overhaul, but that's not going to happen in the near future, I'm afraid.
(Although personally, I think it's a bit of a blessing in disguise: The tools are already quite magical, so being explicit about the algo earns points in my book.)