MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Table_check_intact Class Reference
Inheritance diagram for Table_check_intact:

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

Detailed Description

Definition at line 526 of file table.h.

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.

Parameters
[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
FALSEOK
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.

Definition at line 3315 of file table.cc.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: