Fix bug 1217013: exact dupe unique keys not detected.

This commit is contained in:
Daniel Nichter
2013-12-11 19:31:19 -08:00
parent 36cb76d3e9
commit e83e1c09c4
3 changed files with 63 additions and 13 deletions

View File

@@ -0,0 +1,7 @@
CREATE TABLE `domains` (
`id` bigint(20) NOT NULL,
`domain` varchar(175) COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `domain` (`domain`),
UNIQUE KEY `unique_key_domain` (`domain`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin