mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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:
@@ -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,
|
struct system_status_var *status_var,
|
||||||
enum enum_var_type scope)
|
enum enum_var_type scope)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user