[MDEV-29051] [ERROR] Invalid (old?) table or database name ... Created: 2022-07-07 Updated: 2023-11-28 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Temporary |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11, 11.0, 11.1, 11.2, 11.3 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0, 11.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Roel Van de Paar | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream-5.5, upstream-5.6, upstream-5.7, upstream-fixed, upstream-not-8.0 | ||
| Description |
|
This issue is "fixed" in MySQL 8.0 but not in any MariaDB version or older MySQL version.
Leads to:
Bug confirmed present in: Bug confirmed not present in: |
| Comments |
| Comment by Roel Van de Paar [ 2023-09-27 ] | ||
|
Please note the error shows in the error log only, not the client. | ||
| Comment by Alexander Barkov [ 2023-09-28 ] | ||
|
The server intentionally writes this message to the log to make the DBA aware that there are still some tables from MySQL-5.0 times with not encoded names (which haven't been fixed by mysql_upgrade properly) MySQL 8.0 implemented this task: WL#8186: Deprecate conversion of pre MySQL 5.1 encoded database names This explains the difference in behavior. serg, do you think we should also disallow old names, like MySQL did? | ||
| Comment by Sergei Golubchik [ 2023-09-28 ] | ||
|
Roel, what is the bug here? | ||
| Comment by Roel Van de Paar [ 2023-10-05 ] | ||
|
Both queries complete with OK in the CLI (and no warnings nor errors), yet the error log shows an ERROR. | ||
| Comment by Sergei Golubchik [ 2023-10-08 ] | ||
|
bar, I could agree that an "ERROR" in the log looks strange, should we change it to a warning? |