Bug #71103 | Wrong syntax is used as example in the manual | ||
---|---|---|---|
Submitted: | 6 Dec 2013 12:22 | Modified: | 9 Dec 2013 15:28 |
Reporter: | Valeriy Kravchuk | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.6 | OS: | Any |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
Tags: | Memory, using btree |
[6 Dec 2013 12:22]
Valeriy Kravchuk
[6 Dec 2013 13:45]
Peter Laursen
Indeed, HASH or BTREE are specified for index(es individually) and not for the table as such as in example from http://dev.mysql.com/doc/refman/5.5/en/memory-storage-engine.html CREATE TABLE lookup (id INT, INDEX USING BTREE (id)) ENGINE = MEMORY; (because a MEMORY table may have both HASH and BTREE indexes at the same time)
[6 Dec 2013 14:58]
MySQL Verification Team
Thank you for the bug report.
[9 Dec 2013 15:28]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products. The USING BTREE clause seems irrelevant to the point being made and confuses the issue. I removed it.