Commit 9145dcef authored by hf@deer.(none)'s avatar hf@deer.(none)

mysql_get_parameter interface fixed

parent 78f58ff3
...@@ -263,7 +263,7 @@ typedef struct st_mysql_parameters ...@@ -263,7 +263,7 @@ typedef struct st_mysql_parameters
int STDCALL mysql_server_init(int argc, char **argv, char **groups); int STDCALL mysql_server_init(int argc, char **argv, char **groups);
void STDCALL mysql_server_end(void); 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 Set up and bring down a thread; these function should be called
......
...@@ -124,7 +124,7 @@ void STDCALL mysql_server_end() ...@@ -124,7 +124,7 @@ void STDCALL mysql_server_end()
static MYSQL_PARAMETERS mysql_internal_parameters= static MYSQL_PARAMETERS mysql_internal_parameters=
{&max_allowed_packet, &net_buffer_length}; {&max_allowed_packet, &net_buffer_length};
MYSQL_PARAMETERS *STDCALL mysql_get_parameters() MYSQL_PARAMETERS *STDCALL mysql_get_parameters(void)
{ {
return &mysql_internal_parameters; return &mysql_internal_parameters;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment