mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 00:24:30 +02:00
pthread_handler_decl() changed to be ctags-friendly
(and contain extern "C" when necessary)
This commit is contained in:
parent
970150d14e
commit
0f60474f29
27 changed files with 62 additions and 97 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue