24#ifndef SQL_ED_CONNECTION_H
25#define SQL_ED_CONNECTION_H
Stores status of the currently executed statement.
Definition: sql_error.h:269
const char * message_text() const
Definition: sql_error.h:376
uint mysql_errno() const
Definition: sql_error.h:386
Definition: ed_connection.h:33
Diagnostics_area m_diagnostics_area
Definition: ed_connection.h:123
Ed_connection(THD *thd)
Construct a new "execute direct" connection.
Definition: ed_connection.cc:34
Ed_result_set * m_rsets
Definition: ed_connection.h:132
unsigned int get_last_errno() const
Definition: ed_connection.h:114
~Ed_connection()
Definition: ed_connection.h:120
bool execute_direct(LEX_STRING sql_text)
Execute one SQL statement.
Definition: ed_connection.cc:62
Ed_result_set * m_current_rset
Definition: ed_connection.h:133
Ed_connection & operator=(Ed_connection &)
Ed_connection(const Ed_connection &)
const char * get_last_error() const
The following three members are only valid if execute_direct() or move_to_next_result() returned an e...
Definition: ed_connection.h:110
void free_old_result()
Free all result sets of the previous statement, if any, and reset warnings and errors.
Definition: ed_connection.cc:47
Ed_result_set * get_result_sets()
Definition: ed_connection.h:118
THD * m_thd
Execute direct interface does not support multi-statements, only multi-results.
Definition: ed_connection.h:131
void add_result_set(Ed_result_set *ed_result_set)
A helper method that is called only during execution.
Definition: ed_connection.cc:125
Ed_result_set – a container with result set rows.
Definition: protocol_local.h:66
Protocol_local: a helper class to intercept the result of the data written to the network.
Definition: protocol_local.h:126
Execute a fragment of server code in an isolated context, so that it doesn't leave any effect on THD.
Definition: statement_runnable.h:42
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Definition: mysql_lex_string.h:35