mirror of
https://github.com/MariaDB/server.git
synced 2025-12-04 17:23:46 +03:00
Fix compiler error on gcc 6.x and most of the compiler warnings.
This commit is contained in:
@@ -853,11 +853,11 @@ extern "C" wsrep_ws_handle_t* wsrep_thd_ws_handle(THD *thd)
|
||||
return &thd->wsrep_ws_handle;
|
||||
}
|
||||
|
||||
extern "C"void wsrep_thd_LOCK(THD *thd)
|
||||
extern "C" void wsrep_thd_LOCK(THD *thd)
|
||||
{
|
||||
mysql_mutex_lock(&thd->LOCK_wsrep_thd);
|
||||
}
|
||||
extern "C"void wsrep_thd_UNLOCK(THD *thd)
|
||||
extern "C" void wsrep_thd_UNLOCK(THD *thd)
|
||||
{
|
||||
mysql_mutex_unlock(&thd->LOCK_wsrep_thd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user