My Project
Public Member Functions
Sql_cmd_handler_close Class Reference

#include <sql_handler.h>

Inheritance diagram for Sql_cmd_handler_close:
Sql_cmd Sql_alloc

List of all members.

Public Member Functions

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

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.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines