summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------libmariadb0
-rw-r--r--sql/rpl_rli.cc3
2 files changed, 2 insertions, 1 deletions
diff --git a/libmariadb b/libmariadb
-Subproject cbc9a71e1d2aff81119c912e6a8dbf5e544b58e
+Subproject 252a7c36ef885b5128761a82f9e183621a3e525
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)