My Project
Public Member Functions | Protected Member Functions
Table_check_intact Class Reference
Inheritance diagram for Table_check_intact:
Event_db_intact General_log_table_intact Proc_table_intact Slow_query_log_table_intact

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

bool Table_check_intact::check ( TABLE table,
const TABLE_FIELD_DEF table_def 

Checks whether a table is intact.

Checks whether a table is intact. Should be done *just* after the table has been opened.

[in]tableThe table to check
[in]table_f_countExpected number of columns in the table
[in]table_defExpected structure of the table (column name and type)
Return values:
TRUEThere 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines