summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2020-10-06 13:50:26 +0300
committerEugene Kosov <claprix@yandex.ru>2020-10-06 13:51:06 +0300
commit350c9eb705477afef876e982201ad55dcc65bc9c (patch)
tree0562d8b548191ff0deb3fc09b16fc8635247e6bb /sql/log.cc
parent33f19876a2fbc9378af25cebd0651cd9bdc5407b (diff)
downloadmariadb-git-350c9eb705477afef876e982201ad55dcc65bc9c.tar.gz
MDEV-23894 UBSAN: several call to function show_binlog_vars(THD*, st_mysql_show_var*, char*) through pointer to incorrect function type 'int (*)(THD *, st_mysql_show_var *, void *, system_status_var *, enum_var_type) errors
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc
index cb484210c50..c784dc1c308 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -10403,7 +10403,8 @@ binlog_checksum_update(MYSQL_THD thd, struct st_mysql_sys_var *var,
}
-static int show_binlog_vars(THD *thd, SHOW_VAR *var, char *buff)
+static int show_binlog_vars(THD *thd, SHOW_VAR *var, void *,
+ system_status_var *status_var, enum_var_type)
{
mysql_bin_log.set_status_variables(thd);
var->type= SHOW_ARRAY;