 |
MySQL
8.0.23
Source Code Documentation
|
Go to the documentation of this file.
23 #ifndef TEMP_TABLE_PARAM_INCLUDED
24 #define TEMP_TABLE_PARAM_INCLUDED
26 #include <sys/types.h>
216 #endif // TEMP_TABLE_PARAM_INCLUDED
uint func_count
Number of fields in the query that have functions.
Definition: temp_table_param.h:110
uint hidden_field_count
Definition: temp_table_param.h:120
KEY * keyinfo
After temporary table creation, points to an index on the table created depending on the purpose of t...
Definition: temp_table_param.h:85
A typesafe replacement for DYNAMIC_ARRAY.
Definition: mem_root_array.h:417
Helper class for copy_funcs(); represents an Item to copy from table to next tmp table.
Definition: temp_table_param.h:49
Object containing parameters used when creating and using temporary tables.
Definition: temp_table_param.h:73
uchar * group_buff
Definition: temp_table_param.h:77
bool force_copy_fields
Definition: temp_table_param.h:156
Definition: m_ctype.h:354
Dialog Client Authentication nullptr
Definition: dialog.cc:353
Represents the (explicit) window of a SQL 2003 section 7.11 <window clause>, or the implicit (inlined...
Definition: window.h:94
void cleanup()
Definition: temp_table_param.h:213
bool m_window_short_circuit
(Last) window's tmp file step can be skipped
Definition: temp_table_param.h:181
static MEM_ROOT mem_root
Definition: client_plugin.cc:109
std::vector< T, Mem_root_allocator< T > > Mem_root_vector
Definition: temp_table_param.h:43
void set_override_result_field(Field *f)
Definition: temp_table_param.h:53
CHARSET_INFO * table_charset
Definition: temp_table_param.h:147
Func_ptr_array * items_to_copy
Definition: temp_table_param.h:78
#define true
Definition: config_static.h:44
bool allow_group_via_temp_table
Whether we allow running GROUP BY processing into a temporary table, i.e., keeping many different agg...
Definition: temp_table_param.h:132
uint outer_sum_func_count
Number of outer_sum_funcs i.e the number of set functions that are aggregated in a query block outer ...
Definition: temp_table_param.h:139
Item * func() const
Definition: temp_table_param.h:52
ha_rows end_write_records
LIMIT (maximum number of rows) for this temp table, or HA_POS_ERROR for no limit.
Definition: temp_table_param.h:91
uint field_count
Number of normal fields in the query, including those referred to from aggregate functions.
Definition: temp_table_param.h:100
bool m_window_frame_buffer
This tmp table is used for a window's frame buffer.
Definition: temp_table_param.h:184
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:77
bool precomputed_group_by
Definition: temp_table_param.h:155
bool skip_create_table
true <=> don't actually create table handler when creating the result table.
Definition: temp_table_param.h:163
bool bit_fields_as_long
Definition: temp_table_param.h:169
unsigned int uint
Definition: uca-dump.cc:29
bool using_outer_summary_function
Enabled when we have atleast one outer_sum_func.
Definition: temp_table_param.h:146
unsigned char uchar
Definition: my_inttypes.h:51
bool force_hash_field_for_unique
Whether UNIQUE keys should always be implemented by way of a hidden hash field, never a unique index.
Definition: temp_table_param.h:178
uint group_null_parts
Definition: temp_table_param.h:121
bool schema_table
Definition: temp_table_param.h:148
Temp_table_param(MEM_ROOT *mem_root= *THR_MALLOC)
Definition: temp_table_param.h:189
Mem_root_array< Func_ptr > Func_ptr_array
Used by copy_funcs()
Definition: temp_table_param.h:65
Field * override_result_field() const
Definition: temp_table_param.h:54
#define HA_POS_ERROR
Definition: my_base.h:1138
Item * m_func
Definition: temp_table_param.h:57
Window * m_window
If this is the out table of a window: the said window.
Definition: temp_table_param.h:187
uint sum_func_count
Number of fields in the query that have aggregate functions.
Definition: temp_table_param.h:119
Mem_root_vector< Copy_field > copy_fields
Definition: temp_table_param.h:75
Mem_root_allocator is a C++ STL memory allocator based on MEM_ROOT.
Definition: equi_height.h:92
uint group_parts
Definition: temp_table_param.h:121
uint group_length
Definition: temp_table_param.h:121
bool can_use_pk_for_unique
Whether the UNIQUE index can be promoted to PK.
Definition: temp_table_param.h:172
my_off_t ha_rows
Definition: my_base.h:1136
thread_local MEM_ROOT ** THR_MALLOC
Definition: mysqld.cc:1465
Func_ptr(Item *f)
Definition: temp_table_param.h:51
Field * m_override_result_field
If not nullptr, copy_funcs() will save the result of m_func here instead of in m_func's usual designa...
Definition: temp_table_param.h:61
Constitutes a mapping from columns of tables in the from clause to aggregated columns.
Definition: field.h:4580
#define false
Definition: config_static.h:43