diff options
author | Eugene Kosov <claprix@yandex.ru> | 2020-10-06 13:50:26 +0300 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2020-10-06 13:51:06 +0300 |
commit | 350c9eb705477afef876e982201ad55dcc65bc9c (patch) | |
tree | 0562d8b548191ff0deb3fc09b16fc8635247e6bb /sql/log.cc | |
parent | 33f19876a2fbc9378af25cebd0651cd9bdc5407b (diff) | |
download | mariadb-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.cc | 3 |
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; |