I want to get crashed table list from query by C API.
I know about mysqlcheck --auto-repair --check --all-database
command and repair table db_name.table_name
in the cli, but I can't find out how to get the crashed table name by query.
I just want to get the table name by query, such as
select table_name from some_specific_db where status=crashed
Does anyone have know this?