My Project
Public Member Functions
Execute_sql_statement Class Reference
Inheritance diagram for Execute_sql_statement:
Server_runnable

List of all members.

Public Member Functions

 Execute_sql_statement (LEX_STRING sql_text)
virtual bool execute_server_code (THD *thd)

Detailed Description

Execute one SQL statement in an isolated context.


Member Function Documentation

bool Execute_sql_statement::execute_server_code ( THD *  thd) [virtual]

Parse and execute a statement. Does not prepare the query.

Allows to execute a statement from within another statement. The main property of the implementation is that it does not affect the environment -- i.e. you can run many executions without having to cleanup/reset THD in between.

Implements Server_runnable.


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