summaryrefslogtreecommitdiff
path: root/sql/sql_join_cache.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2013-03-06 22:22:24 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2013-03-06 22:22:24 +0100
commit888db0ec09c5f54b69feda2defd2e9ae49fab75c (patch)
tree092f1223891c5f9fa251c8a7b02c5f6c1d90db0d /sql/sql_join_cache.cc
parent108a0a1823db2036000b309e7d6bd3216742c4de (diff)
downloadmariadb-git-888db0ec09c5f54b69feda2defd2e9ae49fab75c.tar.gz
Fix typo (clang issued warning that =+ was used where += was intended)
Diffstat (limited to 'sql/sql_join_cache.cc')
-rw-r--r--sql/sql_join_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc
index 1121c591c3b..6ffd0f20b5e 100644
--- a/sql/sql_join_cache.cc
+++ b/sql/sql_join_cache.cc
@@ -774,7 +774,7 @@ ulong JOIN_CACHE::get_min_join_buffer_size()
tab= next_linear_tab(join, tab, WITHOUT_BUSH_ROOTS))
{
len+= tab->get_max_used_fieldlength();
- len_last=+ tab->get_used_fieldlength();
+ len_last+= tab->get_used_fieldlength();
}
size_t len_addon= get_record_max_affix_length() +
get_max_key_addon_space_per_record();