mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Many files:
Added the MAX_LENGTH_FOR_SORT_DATA option filesort.cc: Added the MAX_LENGTH_FOR_SORT_DATA option
This commit is contained in:
@ -349,13 +349,13 @@ SQL_SELECT *make_select(TABLE *head, table_map const_tables,
|
||||
select->head=head;
|
||||
select->cond=conds;
|
||||
|
||||
if (head->io_cache)
|
||||
if (head->sort.io_cache)
|
||||
{
|
||||
select->file= *head->io_cache;
|
||||
select->file= *head->sort.io_cache;
|
||||
select->records=(ha_rows) (select->file.end_of_file/
|
||||
head->file->ref_length);
|
||||
my_free((gptr) (head->io_cache),MYF(0));
|
||||
head->io_cache=0;
|
||||
my_free((gptr) (head->sort.io_cache),MYF(0));
|
||||
head->sort.io_cache=0;
|
||||
}
|
||||
DBUG_RETURN(select);
|
||||
}
|
||||
|
Reference in New Issue
Block a user