mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-28077 'Wrong create options' error with 'big_tables' enabled
The cause of the bug is overflow of uint16 KEY_PART_INFO::length and/or uint16 KEY_PART_INFO::store_length. The solution is to increase the size of those variables to the 'uint' type (which is 32-bit long)
This commit is contained in:
@ -12419,6 +12419,7 @@ void JOIN::cleanup(bool full)
|
||||
if (curr_tab->aggr)
|
||||
{
|
||||
free_tmp_table(thd, curr_tab->table);
|
||||
curr_tab->table= NULL;
|
||||
delete curr_tab->tmp_table_param;
|
||||
curr_tab->tmp_table_param= NULL;
|
||||
curr_tab->aggr= NULL;
|
||||
|
Reference in New Issue
Block a user