mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
mysql_get_parameter interface fixed
This commit is contained in:
parent
78f58ff384
commit
9145dcef5e
2 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ typedef struct st_mysql_parameters
|
|||
int STDCALL mysql_server_init(int argc, char **argv, char **groups);
|
||||
void STDCALL mysql_server_end(void);
|
||||
|
||||
MYSQL_PARAMETERS *STDCALL mysql_get_parameters();
|
||||
MYSQL_PARAMETERS *STDCALL mysql_get_parameters(void);
|
||||
|
||||
/*
|
||||
Set up and bring down a thread; these function should be called
|
||||
|
|
|
@ -124,7 +124,7 @@ void STDCALL mysql_server_end()
|
|||
static MYSQL_PARAMETERS mysql_internal_parameters=
|
||||
{&max_allowed_packet, &net_buffer_length};
|
||||
|
||||
MYSQL_PARAMETERS *STDCALL mysql_get_parameters()
|
||||
MYSQL_PARAMETERS *STDCALL mysql_get_parameters(void)
|
||||
{
|
||||
return &mysql_internal_parameters;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue