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.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 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.