MySQL 8.4.0
Source Code Documentation
Table_check_intact Class Referenceabstract

#include <table.h>

Inheritance diagram for Table_check_intact:
[legend]

Public Member Functions

 Table_check_intact ()
 
virtual ~Table_check_intact ()=default
 
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 ( )
virtualdefault

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.

Should be done just after the table has been opened.

Parameters
[in]thdThread handle
[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: