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

#include <sql_handler.h>

Inheritance diagram for Sql_cmd_handler_close:
Collaboration diagram for Sql_cmd_handler_close:

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_close represents HANDLER CLOSE statement.

Note
Table list element which identifies HANDLER to be closed still resides in LEX class.

Definition at line 105 of file sql_handler.h.

Member Function Documentation

bool Sql_cmd_handler_close::execute ( THD *  thd)
virtual

Execute a HANDLER CLOSE statement.

Parameters
thdThe current thread.
Note
Closes the table that is associated (on the handler tables hash) with the name (TABLE_LIST::alias) of the specified table.
Return values
FALSEon success.
TRUEon failure.

Implements Sql_cmd.

Definition at line 393 of file sql_handler.cc.


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