My Project
Public Member Functions
Sql_cmd_handler_read Class Reference

#include <sql_handler.h>

Inheritance diagram for Sql_cmd_handler_read:
Sql_cmd Sql_alloc

List of all members.

Public Member Functions

 Sql_cmd_handler_read (enum_ha_read_modes read_mode, const char *key_name, List< Item > *key_expr, ha_rkey_function rkey_mode)
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_read represents HANDLER READ statement.

Note:
Some information about this statement, for example, table list element which identifies HANDLER to be read from, WHERE and LIMIT clauses is still kept in LEX class.

Member Function Documentation

bool Sql_cmd_handler_read::execute ( THD *  thd) [virtual]

Execute a HANDLER READ 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