Convert pt-table-checksum boundaries to SQL WHERE clauses.

This commit is contained in:
Daniel Nichter
2011-12-22 15:43:15 -07:00
parent 1d8da408fc
commit b63bc4c26b
13 changed files with 206 additions and 98 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
CREATE TABLE `it1` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`a` int(11) NOT NULL,
`b` int(11) NOT NULL,
`c` varchar(16) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `c` (`c`),
UNIQUE KEY `id` (`id`,`c`),
KEY `a` (`a`)
) ENGINE=InnoDB