summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.cc
diff options
context:
space:
mode:
authorAndrei Elkin <andrei.elkin@mariadb.com>2018-05-18 20:32:57 +0300
committerAndrei Elkin <andrei.elkin@mariadb.com>2018-05-18 20:32:57 +0300
commita620985f8f322414c1de1e357373cc0b108abfee (patch)
treed1a875cc220b392fb4041ee8507bf4375559ac2c /sql/rpl_rli.cc
parent685961a085fedb936eb75821c8a193a86bc93dd7 (diff)
downloadmariadb-git-a620985f8f322414c1de1e357373cc0b108abfee.tar.gz
MDEV-15373 post-push: fixing type mismatch alerted by windows build.
Diffstat (limited to 'sql/rpl_rli.cc')
-rw-r--r--sql/rpl_rli.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc
index 05dffe2c462..9e09a5cf067 100644
--- a/sql/rpl_rli.cc
+++ b/sql/rpl_rli.cc
@@ -1780,7 +1780,8 @@ gtid_pos_auto_create_tables(rpl_slave_state::gtid_pos_table **list_ptr)
p= strmake(p, plugin_name(*auto_engines)->str, FN_REFLEN - (p - buf));
table_name.str= buf;
table_name.length= p - buf;
- table_case_convert(const_cast<char*>(table_name.str), table_name.length);
+ table_case_convert(const_cast<char*>(table_name.str),
+ static_cast<uint>(table_name.length));
entry= rpl_global_gtid_slave_state->alloc_gtid_pos_table
(&table_name, hton, rpl_slave_state::GTID_POS_AUTO_CREATE);
if (!entry)