[MDEV-32462] mysql_upgrade -s still checks for non system tables Created: 2023-10-13 Updated: 2023-11-13 Resolved: 2023-10-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server, Upgrades |
| Affects Version/s: | 10.5.22 |
| Fix Version/s: | 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Rick Pizzi | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | regression | ||
| Issue Links: |
|
||||||||
| Description |
|
mysql_upgrade -s is supposed to just check system tables, and leave customer tables alone. well, this does not seem the case:
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. |
| Comments |
| Comment by Daniel Black [ 2023-10-13 ] |
|
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. |
| Comment by Rick Pizzi [ 2023-10-13 ] |
|
Right. Just restrict any check/operation to the mysql database. |
| Comment by Daniel Black [ 2023-10-18 ] |
|
Thanks anel for pr 2790. cvicentiu assigning second review to you. |
| Comment by Daniel Black [ 2023-10-30 ] |
|
This now doesn't check system tables for unidentified types when -s is specified. |