1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

cleanup: simplify multi-update's juggling with positions

introduce Item_temptable_rowid() that is used to store
table->file->position() in the temporary table record
This commit is contained in:
Sergei Golubchik
2018-04-10 11:33:47 +02:00
parent c368878fac
commit e17e798599
5 changed files with 65 additions and 49 deletions

View File

@ -2382,6 +2382,7 @@ int append_possible_keys(MEM_ROOT *alloc, String_list &list, TABLE *table,
#define RATIO_TO_PACK_ROWS 2
#define MIN_STRING_LENGTH_TO_PACK_ROWS 10
void calc_group_buffer(TMP_TABLE_PARAM *param, ORDER *group);
TABLE *create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
ORDER *group, bool distinct, bool save_sum_fields,
ulonglong select_options, ha_rows rows_limit,