MDEV-35554 call to function show_binlog_space_total()

through pointer to incorrect function type.

The argument is void* rather than char*.

This shows up with UBSAN testing under clang.
This commit is contained in:
Daniel Black 2025-01-09 17:32:44 +11:00
parent bca4cc0bd6
commit f014d5872b

View file

@ -7372,7 +7372,7 @@ static int show_max_memory_used(THD *thd, SHOW_VAR *var, void *buff,
}
static int show_binlog_space_total(THD *thd, SHOW_VAR *var, char *buff,
static int show_binlog_space_total(THD *thd, SHOW_VAR *var, void *buff,
struct system_status_var *status_var,
enum enum_var_type scope)
{