Fix bug that caused not all "right keys" to be compared in certain cases.

This commit is contained in:
Daniel Nichter
2012-05-14 19:05:32 -06:00
parent 7fc8a3e989
commit e932c89d9e
6 changed files with 94 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
CREATE TABLE `bug_894140` (
`row_id` bigint(20) NOT NULL AUTO_INCREMENT,
`player_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`row_id`),
UNIQUE KEY `row_id` (`row_id`),
UNIQUE KEY `player_id` (`player_id`),
KEY `player_id_2` (`player_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8