MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Execute_sql_statement Class Reference
Inheritance diagram for Execute_sql_statement:
Collaboration diagram for Execute_sql_statement:

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.

Definition at line 214 of file sql_prepare.cc.

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.

Definition at line 3136 of file sql_prepare.cc.

Here is the call graph for this function:


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