Comment 4 for bug 1034717

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

The second bug is.. odd. The only way I can think of triggering the second bug is by having your mysql's latin1 charset be different from the standard charset. I'm really at loss for how to test or avoid it; it's one of those "shouldn't happen" scenarios. Ryan, could you post a PTDEBUG=1 of the "Use of uninitialized value in join or string" error? It would really help in getting this fixed.

Daniel & I discussed the division by zero bug, and the consensus was that if base was equal to one, then the chunking algorithm wasn't able to handle the table, so the tool will just exit and suggest picking a different algorithm; We'll add a note in the documentation about cases like this.