List of all members.
Public Member Functions |
bool | check (TABLE *table, const TABLE_FIELD_DEF *table_def) |
Protected Member Functions |
virtual void | report_error (uint code, const char *fmt,...)=0 |
Member Function Documentation
Checks whether a table is intact.
Checks whether a table is intact. Should be done *just* after the table has been opened.
- Parameters:
-
[in] | table | The table to check |
[in] | table_f_count | Expected number of columns in the table |
[in] | table_def | Expected structure of the table (column name and type) |
- Return values:
-
FALSE | OK |
TRUE | There was an error. An error message is output to the error log. We do not push an error message into the error stack because this function is currently only called at start up, and such errors never reach the user. |
The documentation for this class was generated from the following files: