summaryrefslogtreecommitdiff
path: root/storage/xtradb/ibuf
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/ibuf')
-rw-r--r--storage/xtradb/ibuf/ibuf0ibuf.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/xtradb/ibuf/ibuf0ibuf.cc b/storage/xtradb/ibuf/ibuf0ibuf.cc
index 7e5d5532ee3..3969d284a97 100644
--- a/storage/xtradb/ibuf/ibuf0ibuf.cc
+++ b/storage/xtradb/ibuf/ibuf0ibuf.cc
@@ -2963,7 +2963,8 @@ ibuf_get_volume_buffered_hash(
fold = ut_fold_binary(data, len);
hash += (fold / (CHAR_BIT * sizeof *hash)) % size;
- bitmask = 1 << (fold % (CHAR_BIT * sizeof *hash));
+ bitmask = static_cast<ulint>(
+ 1 << (fold % (CHAR_BIT * sizeof(*hash))));
if (*hash & bitmask) {
@@ -3978,7 +3979,7 @@ skip_watch:
/********************************************************************//**
During merge, inserts to an index page a secondary index entry extracted
-from the insert buffer.
+from the insert buffer.
@return newly inserted record */
static __attribute__((nonnull))
rec_t*