#include <query_result.h>
|
| Query_result_send () |
|
bool | send_result_set_metadata (THD *thd, const mem_root_deque< Item * > &list, uint flags) override |
|
bool | send_data (THD *thd, const mem_root_deque< Item * > &items) override |
|
bool | send_eof (THD *thd) override |
|
bool | check_simple_query_block () const override |
| Check if this query returns a result set and therefore is allowed in cursors and set an error message if it is not the case. More...
|
|
void | abort_result_set (THD *thd) override |
|
void | cleanup (THD *) override |
| Cleanup after this execution. More...
|
|
| Query_result () |
|
virtual | ~Query_result ()=default |
|
virtual bool | needs_file_privilege () const |
|
virtual bool | change_query_result (THD *, Query_result *) |
| Change wrapped Query_result. More...
|
|
virtual bool | need_explain_interceptor () const |
|
virtual bool | prepare (THD *, const mem_root_deque< Item * > &, Query_expression *u) |
| Perform preparation specific to the query expression or DML statement. More...
|
|
virtual bool | optimize () |
| Optimize the result processing of a query expression, applicable to data change operation (not simple select queries). More...
|
|
virtual bool | start_execution (THD *) |
| Prepare for execution of the query expression or DML statement. More...
|
|
virtual bool | create_table_for_query_block (THD *) |
| Create table, only needed to support CREATE TABLE ... SELECT. More...
|
|
virtual uint | field_count (const mem_root_deque< Item * > &fields) const |
|
virtual void | send_error (THD *, uint errcode, const char *err) |
|
virtual bool | reset () |
| Cleanup after one execution of the unit, to be ready for a next execution inside the same statement. More...
|
|
void | begin_dataset () |
|
virtual const ha_rows * | row_count () const |
|
virtual bool | is_interceptor () const |
| Checks if this Query_result intercepts and transforms the result set. More...
|
|
virtual bool | immediate_update (TABLE_LIST *t) const |
| If this Query_result performs modifications to tables: tells if it modifies the given table's row as it's read (a.k.a. More...
|
|
◆ Query_result_send()
Query_result_send::Query_result_send |
( |
| ) |
|
|
inline |
◆ abort_result_set()
void Query_result_send::abort_result_set |
( |
THD * |
thd | ) |
|
|
overridevirtual |
◆ check_simple_query_block()
bool Query_result_send::check_simple_query_block |
( |
| ) |
const |
|
inlineoverridevirtual |
Check if this query returns a result set and therefore is allowed in cursors and set an error message if it is not the case.
- Return values
-
false | success |
true | error, an error message is set |
Reimplemented from Query_result.
◆ cleanup()
void Query_result_send::cleanup |
( |
THD * |
| ) |
|
|
inlineoverridevirtual |
Cleanup after this execution.
Completes the execution and resets object before next execution of a prepared statement/stored procedure.
Reimplemented from Query_result.
◆ send_data()
◆ send_eof()
bool Query_result_send::send_eof |
( |
THD * |
thd | ) |
|
|
overridevirtual |
◆ send_result_set_metadata()
◆ is_result_set_started
bool Query_result_send::is_result_set_started |
|
private |
True if we have sent result set metadata to the client.
In this case the client always expects us to end the result set with an eof or error packet
The documentation for this class was generated from the following files: