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

#include <sql_handler.h>

Inheritance diagram for Sql_cmd_handler_open:
Collaboration diagram for Sql_cmd_handler_open:

Public Member Functions

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

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_handler_open represents HANDLER OPEN statement.

Note
Some information about this statement, for example, table to be opened is still kept in LEX class.

Definition at line 33 of file sql_handler.h.

Member Function Documentation

bool Sql_cmd_handler_open::execute ( THD *  thd)
virtual

Execute a HANDLER OPEN statement.

Parameters
thdThe current thread.
Return values
FALSEon success.
TRUEon failure.

Implements Sql_cmd.

Definition at line 166 of file sql_handler.cc.

Here is the call graph for this function:


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