Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.1.10, 5.5(EOL), 10.0(EOL), 10.1(EOL)
-
Debian 8
$ mysqlcheck -V
mysqlcheck Ver 2.7.4-MariaDB Distrib 10.1.10-MariaDB, for debian-linux-gnu (x86_64)
Description
Given 2 databases each with a table called "table":
db1.tableA
db2.tableB
Break table db1.tableA and run `mysqlcheck -A --auto-repair --fast`. mysqlcheck will scan all tables and then should try to repair db1.tableA but instead it remains connected to the last database it checked (in this case db2) and tries to repair table db2.tableA - which does not exist.
===
Repairing tables
db2.tableA
Error : Table 'db2.tableA' doesn't exist
status : Operation failed
===
Attachments
Issue Links
- relates to
-
MDEV-10005 mysqlcheck doesn't correctly set default database in repair step
- Closed
-
MDEV-10348 mysql_upgrade mixing up table list
- Closed