summaryrefslogtreecommitdiff
path: root/sql/uniques.cc
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2003-11-18 17:04:52 +0300
committerunknown <sergefp@mysql.com>2003-11-18 17:04:52 +0300
commit3a553cf2afa6adebf81e9cf8a6cba4eaf90ded3d (patch)
tree41d1f3f8dac68bb2526f1a859106f202abaa5b27 /sql/uniques.cc
parent5a24433d271e6317886102448f2b60728b738940 (diff)
downloadmariadb-git-3a553cf2afa6adebf81e9cf8a6cba4eaf90ded3d.tar.gz
Fix for bug #1820
mysql-test/r/multi_update.result: Test for bug #1820 mysql-test/t/multi_update.test: Test for bug #1820 BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/uniques.cc')
-rw-r--r--sql/uniques.cc3
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;