diff options
author | sergefp@mysql.com <> | 2003-11-18 17:04:52 +0300 |
---|---|---|
committer | sergefp@mysql.com <> | 2003-11-18 17:04:52 +0300 |
commit | 6c5b4af81cc2314d486d4aab5329be15fbb4154d (patch) | |
tree | 41d1f3f8dac68bb2526f1a859106f202abaa5b27 /sql/uniques.cc | |
parent | 6d350964dc9f3fe105521c9e4f791443c25e121a (diff) | |
download | mariadb-git-6c5b4af81cc2314d486d4aab5329be15fbb4154d.tar.gz |
Fix for bug #1820
Diffstat (limited to 'sql/uniques.cc')
-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; |