mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user