MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Sql_cmd_check_table Class Reference

#include <sql_admin.h>

Inheritance diagram for Sql_cmd_check_table:
Collaboration diagram for Sql_cmd_check_table:

Public Member Functions

 Sql_cmd_check_table ()
bool execute (THD *thd)
virtual enum_sql_command sql_command_code () const
 Return the command code for this statement.

Additional Inherited Members

- Static Public Member Functions inherited from Sql_alloc
static void * operator new (size_t size) throw ()
static void * operator new[] (size_t size) throw ()
static void * operator new[] (size_t size, MEM_ROOT *mem_root) throw ()
static void * operator new (size_t size, MEM_ROOT *mem_root) throw ()
static void operator delete (void *ptr, size_t size)
static void operator delete (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, size_t size)

Detailed Description

Sql_cmd_check_table represents the CHECK TABLE statement.

Definition at line 56 of file sql_admin.h.

Constructor & Destructor Documentation

Sql_cmd_check_table::Sql_cmd_check_table ( )
inline

Constructor, used to represent a CHECK TABLE statement.

Definition at line 62 of file sql_admin.h.

Member Function Documentation

bool Sql_cmd_check_table::execute ( THD *  thd)
virtual

Execute this SQL statement.

Parameters
thdthe current thread.
Return values
falseon success.
trueon error

Implements Sql_cmd.

Definition at line 1071 of file sql_admin.cc.

Here is the call graph for this function:


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