summaryrefslogtreecommitdiff
path: root/sql/semisync_master.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/semisync_master.cc')
-rw-r--r--sql/semisync_master.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/semisync_master.cc b/sql/semisync_master.cc
index 5e83847edf9..3c88bdddad4 100644
--- a/sql/semisync_master.cc
+++ b/sql/semisync_master.cc
@@ -99,8 +99,7 @@ Active_tranx::~Active_tranx()
m_num_entries = 0;
}
-unsigned int Active_tranx::calc_hash(const unsigned char *key,
- unsigned int length)
+unsigned int Active_tranx::calc_hash(const unsigned char *key, size_t length)
{
unsigned int nr = 1, nr2 = 4;