mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
pthread_handler_decl() changed to be ctags-friendly
(and contain extern "C" when necessary)
This commit is contained in:
@ -28,7 +28,7 @@ static TABLE *delayed_get_table(THD *thd,TABLE_LIST *table_list);
|
||||
static int write_delayed(THD *thd,TABLE *table, enum_duplicates dup, bool ignore,
|
||||
char *query, uint query_length, bool log_on);
|
||||
static void end_delayed_insert(THD *thd);
|
||||
extern "C" pthread_handler_decl(handle_delayed_insert,arg);
|
||||
pthread_handler_t handle_delayed_insert(void *arg);
|
||||
static void unlink_blobs(register TABLE *table);
|
||||
#endif
|
||||
static bool check_view_insertability(THD *thd, TABLE_LIST *view);
|
||||
@ -1691,7 +1691,7 @@ void kill_delayed_threads(void)
|
||||
* Create a new delayed insert thread
|
||||
*/
|
||||
|
||||
extern "C" pthread_handler_decl(handle_delayed_insert,arg)
|
||||
pthread_handler_t handle_delayed_insert(void *arg)
|
||||
{
|
||||
delayed_insert *di=(delayed_insert*) arg;
|
||||
THD *thd= &di->thd;
|
||||
|
Reference in New Issue
Block a user