summaryrefslogtreecommitdiff
path: root/sql/uniques.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/uniques.h')
-rw-r--r--sql/uniques.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/uniques.h b/sql/uniques.h
index efc79953bb6..654b3692aaa 100644
--- a/sql/uniques.h
+++ b/sql/uniques.h
@@ -77,7 +77,7 @@ public:
inline static int get_cost_calc_buff_size(size_t nkeys, uint key_size,
size_t max_in_memory_size)
{
- register size_t max_elems_in_tree=
+ size_t max_elems_in_tree=
max_in_memory_size / ALIGN_SIZE(sizeof(TREE_ELEMENT)+key_size);
return (int) (sizeof(uint)*(1 + nkeys/max_elems_in_tree));
}