mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
pthread_handler_decl() changed to be ctags-friendly
(and contain extern "C" when necessary)
This commit is contained in:
@ -1046,7 +1046,7 @@ void execute_init_command(THD *thd, sys_var_str *init_command_var,
|
||||
}
|
||||
|
||||
|
||||
pthread_handler_decl(handle_one_connection,arg)
|
||||
pthread_handler_t handle_one_connection(void *arg)
|
||||
{
|
||||
THD *thd=(THD*) arg;
|
||||
uint launch_time =
|
||||
@ -1182,7 +1182,7 @@ end_thread:
|
||||
Used when creating the initial grant tables
|
||||
*/
|
||||
|
||||
extern "C" pthread_handler_decl(handle_bootstrap,arg)
|
||||
pthread_handler_t handle_bootstrap(void *arg)
|
||||
{
|
||||
THD *thd=(THD*) arg;
|
||||
FILE *file=bootstrap_file;
|
||||
|
Reference in New Issue
Block a user