|
| enum | enum_engine_type {
ABSTRACT_ENGINE
, SINGLE_SELECT_ENGINE
, UNION_ENGINE
, UNIQUESUBQUERY_ENGINE
,
INDEXSUBQUERY_ENGINE
, HASH_SJ_ENGINE
} |
| static table_map | calc_const_tables (TableList *) |
| static void * | operator new (size_t size) |
| static void * | operator new[] (size_t size) |
| static void * | operator new (size_t size, Root &root) |
| static void * | operator new[] (size_t size, Root &root) |
| static void * | operator new (size_t size, Root *root) |
| static void * | operator new[] (size_t size, Root *root) |
| static void | operator delete (void *) |
| static void | operator delete[] (void *) |
| static void | operator delete (void *, Root &) |
| static void | operator delete[] (void *, Root &) |
| static void | operator delete (void *, Root *) |
| static void | operator delete[] (void *, Root *) |
| void | set_row (List< Item > &item_list, Item_cache **row) |
| select_result_interceptor * | result |
| Session * | session |
| Item_subselect * | item |
| enum Item_result | res_type |
| enum_field_types | res_field_type |
| bool | maybe_null |
Definition at line 466 of file subselect.h.
◆ subselect_single_select_engine()
◆ change_result()
◆ cleanup()
| void drizzled::subselect_single_select_engine::cleanup |
( |
| ) |
|
|
virtual |
◆ cols()
| uint32_t drizzled::subselect_single_select_engine::cols |
( |
| ) |
|
|
virtual |
◆ engine_type()
| virtual enum_engine_type drizzled::subselect_single_select_engine::engine_type |
( |
| ) |
|
|
inlinevirtual |
◆ exclude()
| void drizzled::subselect_single_select_engine::exclude |
( |
| ) |
|
|
virtual |
◆ exec()
| int drizzled::subselect_single_select_engine::exec |
( |
| ) |
|
|
virtual |
◆ fix_length_and_dec()
| void drizzled::subselect_single_select_engine::fix_length_and_dec |
( |
Item_cache ** | row | ) |
|
|
virtual |
◆ is_executed()
| bool drizzled::subselect_single_select_engine::is_executed |
( |
| ) |
const |
|
inlinevirtual |
◆ may_be_null()
| bool drizzled::subselect_single_select_engine::may_be_null |
( |
| ) |
|
|
virtual |
◆ no_rows()
| bool drizzled::subselect_single_select_engine::no_rows |
( |
| ) |
|
|
virtual |
◆ no_tables()
| bool drizzled::subselect_single_select_engine::no_tables |
( |
| ) |
|
|
virtual |
Report about presence of tables in subquery.
- Return values
-
| true | there are not tables used in subquery |
| false | there are some tables in subquery |
Implements drizzled::subselect_engine.
Definition at line 2876 of file subselect.cc.
◆ prepare()
| int drizzled::subselect_single_select_engine::prepare |
( |
| ) |
|
|
virtual |
Create and prepare the JOIN object that represents the query execution plan for the subquery.
@detail This method is called from Item_subselect::fix_fields. For prepared statements it is called both during the PREPARE and EXECUTE phases in the following ways:
- During PREPARE the optimizer needs some properties (join->fields_list.elements) of the JOIN to proceed with preparation of the remaining query (namely to complete ::fix_fields for the subselect related classes. In the end of PREPARE the JOIN is deleted.
When we EXECUTE the query, Item_subselect::fix_fields is called again, and the JOIN object is re-created again, prepared and executed. In the end of execution it is deleted. In all cases the JOIN is created in runtime memory (not in the permanent memory root).
- Todo
- Re-check what properties of 'join' are needed during prepare, and see if we can avoid creating a JOIN during JOIN::prepare of the outer join.
- Return values
-
Implements drizzled::subselect_engine.
Definition at line 1987 of file subselect.cc.
◆ print()
| void drizzled::subselect_single_select_engine::print |
( |
String * | str | ) |
|
|
virtual |
◆ save_join_if_explain()
| void drizzled::subselect_single_select_engine::save_join_if_explain |
( |
| ) |
|
◆ uncacheable() [1/2]
| bool drizzled::subselect_single_select_engine::uncacheable |
( |
| ) |
|
|
virtual |
◆ uncacheable() [2/2]
| bool drizzled::subselect_single_select_engine::uncacheable |
( |
uint32_t | bit_pos | ) |
|
|
virtual |
◆ upper_select_const_tables()
| table_map drizzled::subselect_single_select_engine::upper_select_const_tables |
( |
| ) |
|
|
virtual |
◆ Item_in_subselect
| friend class Item_in_subselect |
|
friend |
◆ subselect_hash_sj_engine
| friend class subselect_hash_sj_engine |
|
friend |
◆ executed
| bool drizzled::subselect_single_select_engine::executed |
|
private |
◆ join
| Join* drizzled::subselect_single_select_engine::join |
|
private |
◆ optimized
| bool drizzled::subselect_single_select_engine::optimized |
|
private |
◆ prepared
| bool drizzled::subselect_single_select_engine::prepared |
|
private |
◆ select_lex
| Select_Lex* drizzled::subselect_single_select_engine::select_lex |
|
private |
The documentation for this class was generated from the following files: