Bug #84861 | db_name is ignored when creating table with data directory | ||
---|---|---|---|
Submitted: | 7 Feb 2017 14:40 | Modified: | 3 Mar 2017 19:25 |
Reporter: | Stefan Gluszek | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S2 (Serious) |
Version: | 5.5/5.6/5.7/8.0 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[7 Feb 2017 14:40]
Stefan Gluszek
[7 Feb 2017 22:54]
MySQL Verification Team
Thank you for the bug report. Verified as described.
[8 Feb 2017 11:32]
Dyre Tjeldvoll
Posted by developer: Note that the synopsis is somewhat misleading. The database name is not ignored when creating the table and the symbolic links to the external data directory. It is ignored in the permission check but this does not affect the result as long as there is a current database, since the privilege does not depend on the database used.
[3 Mar 2017 19:25]
Paul DuBois
Posted by developer: Noted in 5.5.55, 5.6.36, 5.7.18, 8.0.1 changelogs. For CREATE TABLE statements that specified the table name with a database qualifier and included a DATA DIRECTORY or INDEX DIRECTORY option, an error occurred if there was no default database.