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

#include <sql_handler.h>

Inheritance diagram for Sql_cmd_handler_read:
Collaboration diagram for Sql_cmd_handler_read:

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)

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_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.

Definition at line 59 of file sql_handler.h.

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.

Definition at line 495 of file sql_handler.cc.

Here is the call graph for this function:


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