Checks a table or tables for errors.  CHECK TABLE works for
MyISAM and InnoDB tables.  For MyISAM tables, the key statistics are updated.

As of MySQL 5.0.2, CHECK TABLE also can check views for problems, such
as tables that are referenced in the view definition that no longer exist.
