diff options
author | Ramil Kalimullin <ramil@mysql.com> | 2008-11-14 11:40:46 +0400 |
---|---|---|
committer | Ramil Kalimullin <ramil@mysql.com> | 2008-11-14 11:40:46 +0400 |
commit | e3de8d361efbe43d505665ddc959fef77400ca8a (patch) | |
tree | c9498f10d81fcc478d8f18c401dce3175599250f /cmd-line-utils | |
parent | f5583481e3439a74e22170eab631755cc094c32c (diff) | |
download | mariadb-git-e3de8d361efbe43d505665ddc959fef77400ca8a.tar.gz |
Fix for bug#37527: mysqlcheck fails to report entire database
when InnoDB frm file corruption
Problem: mysqlcheck runs 'SHOW FULL TABLE' queries to get table lists.
The query may fail for some reasons (e.g. null .frm file) then
mysqlcheck doesn't process the database tables.
Fix: try to run 'SHOW TABLES' if 'SHOW FULL TABLES' failed.
client/mysqlcheck.c:
Fix for bug#37527: mysqlcheck fails to report entire database
when InnoDB frm file corruption
- run "SHOW TABLES" query if "SHOW /*!50002 FULL*/ TABLES" failed;
- print error info if both failed.
mysql-test/r/mysqlcheck.result:
Fix for bug#37527: mysqlcheck fails to report entire database
when InnoDB frm file corruption
- test result.
mysql-test/t/mysqlcheck.test:
Fix for bug#37527: mysqlcheck fails to report entire database
when InnoDB frm file corruption
- test case.
Diffstat (limited to 'cmd-line-utils')
0 files changed, 0 insertions, 0 deletions