Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.5.22
Description
mysql_upgrade -s is supposed to just check system tables, and leave customer tables alone. well, this does not seem the case:
| 918965 | root | localhost | mysql | Query | 244 | checking permissions | SELECT table_comment FROM information_schema.tables WHERE table_comment LIKE 'Unknown data type: %' | 0.000 |
|
|
this is not expected and on a database with millions of tables, can take a VERY long time.
We need to respect the "-s" flag and just check system tables.
Attachments
Issue Links
- is caused by
-
MDEV-24093 Detect during mysql_upgrade if type_mysql_json.so is needed and load it
-
- Closed
-
- links to
The query isn't updating system tables, but looking for datatypes.
The effect is the same, its opening all tables.
When -s, is used, this could be restricted to just the mysql database.