diff options
author | unknown <monty@mashka.mysql.fi> | 2003-11-18 17:28:33 +0200 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2003-11-18 17:28:33 +0200 |
commit | cde9c4299b1f77abed719dbacb278030010760e6 (patch) | |
tree | 14411f816b508dee086e59ce38b1301c725a901f /sql | |
parent | c05413175bbbe2ec715d28c5cd28542ceba3d7e2 (diff) | |
parent | 3a553cf2afa6adebf81e9cf8a6cba4eaf90ded3d (diff) | |
download | mariadb-git-cde9c4299b1f77abed719dbacb278030010760e6.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mashka.mysql.fi:/home/my/mysql-4.1
Diffstat (limited to 'sql')
-rw-r--r-- | sql/uniques.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/uniques.cc b/sql/uniques.cc index 4514de834a8..f289fd11f5b 100644 --- a/sql/uniques.cc +++ b/sql/uniques.cc @@ -132,7 +132,8 @@ bool Unique::get(TABLE *table) bzero((char*) &sort_param,sizeof(sort_param)); sort_param.max_rows= elements; sort_param.sort_form=table; - sort_param.sort_length=sort_param.ref_length=tree.size_of_element; + sort_param.rec_length= sort_param.sort_length=sort_param.ref_length= + tree.size_of_element; sort_param.keys= max_in_memory_size / sort_param.sort_length; sort_param.not_killable=1; |