Bug #73326 | Behavior when using a non-permitted index type. | ||
---|---|---|---|
Submitted: | 18 Jul 2014 11:31 | Modified: | 18 Jul 2014 11:57 |
Reporter: | Roland Bouman | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S2 (Serious) |
Version: | all, 5.6.20 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[18 Jul 2014 11:31]
Roland Bouman
[18 Jul 2014 11:57]
MySQL Verification Team
Hello Roland, Thank you for the report and test case. Verified as described. Thanks, Umesh
[18 Jul 2014 11:58]
MySQL Verification Team
// 5.6.20 mysql> CREATE TABLE `sessions` ( -> `id` char(40) COLLATE utf8_unicode_ci NOT NULL, -> `payload` text COLLATE utf8_unicode_ci NOT NULL, -> `last_activity` int(11) unsigned NOT NULL, -> PRIMARY KEY (`id`), -> UNIQUE KEY `session_id_unique` (`id`) USING HASH -> ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; Query OK, 0 rows affected (0.34 sec) mysql> show create table `sessions`\G *************************** 1. row *************************** Table: sessions Create Table: CREATE TABLE `sessions` ( `id` char(40) COLLATE utf8_unicode_ci NOT NULL, `payload` text COLLATE utf8_unicode_ci NOT NULL, `last_activity` int(11) unsigned NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `session_id_unique` (`id`) USING HASH ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci 1 row in set (0.00 sec) mysql> mysql> show variables like '%version%'; +-------------------------+---------------------------------------------------------+ | Variable_name | Value | +-------------------------+---------------------------------------------------------+ | innodb_version | 5.6.20 | | protocol_version | 10 | | slave_type_conversions | | | version | 5.6.20-enterprise-commercial-advanced-log | | version_comment | MySQL Enterprise Server - Advanced Edition (Commercial) | | version_compile_machine | x86_64 | | version_compile_os | Linux | +-------------------------+---------------------------------------------------------+ 7 rows in set (0.00 sec)