MySQL 9.1.0
Source Code Documentation
|
#include <query_result.h>
Public Member Functions | |
Query_dumpvar () | |
bool | prepare (THD *thd, const mem_root_deque< Item * > &list, Query_expression *u) override |
Perform preparation specific to the query expression or DML statement. More... | |
bool | send_data (THD *thd, const mem_root_deque< Item * > &items) override |
bool | send_eof (THD *thd) override |
bool | check_supports_cursor () const override |
Check if this query result set supports cursors. More... | |
void | cleanup () override |
Cleanup after this execution. More... | |
bool | use_protocol_wrapper () const override |
An alternative implementation may provide an optimized protocol wrapper for this object. More... | |
Public Member Functions inherited from Query_result_interceptor | |
Query_result_interceptor () | |
uint | field_count (const mem_root_deque< Item * > &) const override |
bool | send_result_set_metadata (THD *, const mem_root_deque< Item * > &, uint) override |
Public Member Functions inherited from Query_result | |
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 | 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 void | abort_result_set (THD *) |
virtual bool | reset () |
Cleanup after one execution of the unit, to be ready for a next execution inside the same statement. More... | |
virtual bool | use_protocol_adapter () const |
virtual void | set_limit (ha_rows) |
Only overridden (and non-empty) for Query_result_union, q.v. More... | |
virtual Server_side_cursor * | cursor () const |
Public Attributes | |
List< PT_select_var > | var_list |
Public Attributes inherited from Query_result | |
ha_rows | estimated_rowcount |
Number of records estimated in this result. More... | |
double | estimated_cost |
Cost to execute the subquery which produces this result. More... | |
Private Attributes | |
ha_rows | row_count |
Additional Inherited Members | |
Protected Attributes inherited from Query_result | |
Query_expression * | unit |
|
inline |
|
overridevirtual |
Check if this query result set supports cursors.
Reimplemented from Query_result.
|
inlineoverridevirtual |
Cleanup after this execution.
Completes the execution and resets object before next execution of a prepared statement/stored procedure.
Reimplemented from Query_result.
|
overridevirtual |
Perform preparation specific to the query expression or DML statement.
Reimplemented from Query_result.
|
overridevirtual |
Implements Query_result.
|
overridevirtual |
Implements Query_result.
|
inlineoverridevirtual |
An alternative implementation may provide an optimized protocol wrapper for this object.
Reimplemented from Query_result.
|
private |
List<PT_select_var> Query_dumpvar::var_list |