MySQL  8.0.19
Source Code Documentation
Table_check_intact Class Referenceabstract

#include <table.h>

Inheritance diagram for Table_check_intact:
Acl_table_intact Component_db_intact dd::upgrade_57::Check_table_intact Query_log_table_intact

Public Member Functions

 Table_check_intact ()
 
virtual ~Table_check_intact ()
 
bool check (THD *thd, TABLE *table, const TABLE_FIELD_DEF *table_def)
 Checks whether a table is intact. More...
 

Protected Member Functions

virtual void report_error (uint code, const char *fmt,...)=0
 

Protected Attributes

bool has_keys
 

Constructor & Destructor Documentation

◆ Table_check_intact()

Table_check_intact::Table_check_intact ( )
inline

◆ ~Table_check_intact()

virtual Table_check_intact::~Table_check_intact ( )
inlinevirtual

Member Function Documentation

◆ check()

bool Table_check_intact::check ( THD thd,
TABLE table,
const TABLE_FIELD_DEF table_def 
)

Checks whether a table is intact.

Parameters
thdSession.
tableTable to check.
table_defTable definition struct.

Should be done just after the table has been opened.

Parameters
[in]tableThe table to check
[in]table_defExpected structure of the table (column name and type)
Return values
falseOK
trueThere was an error.

◆ report_error()

virtual void Table_check_intact::report_error ( uint  code,
const char *  fmt,
  ... 
)
protectedpure virtual

Member Data Documentation

◆ has_keys

bool Table_check_intact::has_keys
protected

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