Bug #77050 Syntax error if index type specified
| Submitted: | 15 May 2015 14:17 | Modified: | 18 May 2015 6:15 |
|---|---|---|---|
| Reporter: | Daniël van Eeden | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 5.6.24, 5.6.26, 5.7.8 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[15 May 2015 14:17]
Daniël van Eeden
[18 May 2015 6:15]
MySQL Verification Team
Hello Daniël, Thank you for the report. Thanks, Umesh
[18 May 2015 6:19]
MySQL Verification Team
// leaving "doc" category as is but imhoo should be fixed instead // 5.6.24, 5.6.26, 5.7.8 CREATE TABLE fooname ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, fname TEXT(500) ) ENGINE=InnoDB; CREATE FULLTEXT INDEX idxft001 USING HASH ON fooname (fname ASC); CREATE FULLTEXT INDEX idxft001 ON fooname (fname ASC) USING HASH ; Database changed mysql> CREATE FULLTEXT INDEX idxft001 ON fooname (fname ASC) USING HASH ; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USING HASH' at line 1 mysql> mysql> CREATE FULLTEXT INDEX idxft001 USING HASH ON fooname (fname ASC); ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USING HASH ON fooname (fname ASC)' at line 1
[22 May 2015 15:01]
Paul DuBois
Agree with Umesh. Should be treated as a server bug, or at least evaluated by server team for a verdict as to whether to fix.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.