mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Merge branch '5.5' into 10.1
This commit is contained in:
@@ -5161,16 +5161,21 @@ user_var_entry *get_variable(HASH *hash, LEX_STRING &name,
|
||||
class Unique :public Sql_alloc
|
||||
{
|
||||
DYNAMIC_ARRAY file_ptrs;
|
||||
ulong max_elements;
|
||||
ulong max_elements; /* Total number of elements that will be stored in-memory */
|
||||
ulonglong max_in_memory_size;
|
||||
IO_CACHE file;
|
||||
TREE tree;
|
||||
uchar *record_pointers;
|
||||
/* Number of elements filtered out due to min_dupl_count when storing results
|
||||
to table. See Unique::get */
|
||||
ulong filtered_out_elems;
|
||||
bool flush();
|
||||
uint size;
|
||||
uint full_size;
|
||||
uint min_dupl_count; /* always 0 for unions, > 0 for intersections */
|
||||
uint full_size; /* Size of element + space needed to store the number of
|
||||
duplicates found for the element. */
|
||||
uint min_dupl_count; /* Minimum number of occurences of element required for
|
||||
it to be written to record_pointers.
|
||||
always 0 for unions, > 0 for intersections */
|
||||
bool with_counters;
|
||||
|
||||
bool merge(TABLE *table, uchar *buff, bool without_last_merge);
|
||||
|
Reference in New Issue
Block a user