~percona-toolkit-dev/percona-toolkit/fix-sync-index-bug-1003014

« back to all changes in this revision

Viewing changes to t/pt-duplicate-key-checker/samples/bug-894140.txt

Merge fix-dupe-key-bug-894140.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ########################################################################
 
2
# test.bug_894140                                                         
 
3
# ########################################################################
 
4
 
 
5
# row_id is a duplicate of PRIMARY
 
6
# Key definitions:
 
7
#   UNIQUE KEY `row_id` (`row_id`),
 
8
#   PRIMARY KEY (`row_id`),
 
9
# Column types:
 
10
#         `row_id` bigint(20) not null auto_increment
 
11
# To remove this duplicate index, execute:
 
12
ALTER TABLE `test`.`bug_894140` DROP INDEX `row_id`;
 
13
 
 
14
# player_id_2 is a duplicate of player_id
 
15
# Key definitions:
 
16
#   KEY `player_id_2` (`player_id`)
 
17
#   UNIQUE KEY `player_id` (`player_id`),
 
18
# Column types:
 
19
#         `player_id` bigint(20) default null
 
20
# To remove this duplicate index, execute:
 
21
ALTER TABLE `test`.`bug_894140` DROP INDEX `player_id_2`;
 
22
 
 
23
# ########################################################################
 
24
# Summary of indexes                                                      
 
25
# ########################################################################
 
26
 
 
27
# Size Duplicate Indexes   17
 
28
# Total Duplicate Indexes  2
 
29
# Total Indexes            4