diff options
author | igor@hundin.mysql.fi <> | 2003-04-24 14:33:33 +0300 |
---|---|---|
committer | igor@hundin.mysql.fi <> | 2003-04-24 14:33:33 +0300 |
commit | 80615fade284e14119fc189f136d30fc475f8aec (patch) | |
tree | 6de7abb070ee2d000b388d96503497e5aed12979 /sql/opt_range.cc | |
parent | 5610c4dea61bac4f7a0db0b911a941f2f869096a (diff) | |
download | mariadb-git-80615fade284e14119fc189f136d30fc475f8aec.tar.gz |
Many files:
Added the MAX_LENGTH_FOR_SORT_DATA option
filesort.cc:
Added the MAX_LENGTH_FOR_SORT_DATA option
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 92bab76bedd..7526772cd09 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -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); } |