mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
null-merge from perfschema-5.6 merge tree
(only new files and small style changes are accepted)
This commit is contained in:
@@ -135,6 +135,16 @@ static int my_strnncoll_binary(CHARSET_INFO * cs __attribute__((unused)),
|
||||
#undef MYSQL_SERVICE_LOGGER_INCLUDED
|
||||
#undef MYSQL_DYNAMIC_PLUGIN
|
||||
#define FLOGGER_NO_PSI
|
||||
|
||||
/* How to access the pthread_mutex in mysql_mutex_t */
|
||||
#ifdef SAFE_MUTEX
|
||||
#define mysql_mutex_real_mutex(A) &(A)->m_mutex.mutex
|
||||
#elif defined(MY_PTHREAD_FASTMUTEX)
|
||||
#define mysql_mutex_real_mutex(A) &(A)->m_mutex.mutex
|
||||
#else
|
||||
#define mysql_mutex_real_mutex(A) &(A)->m_mutex
|
||||
#endif
|
||||
|
||||
#define flogger_mutex_init(A,B,C) pthread_mutex_init(mysql_mutex_real_mutex(B), C)
|
||||
#define flogger_mutex_destroy(A) pthread_mutex_destroy(mysql_mutex_real_mutex(A))
|
||||
#define flogger_mutex_lock(A) pthread_mutex_lock(mysql_mutex_real_mutex(A))
|
||||
|
Reference in New Issue
Block a user