mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-7098 spider/bg.spider_fixes failed in buildbot with safe_mutex: Trying to unlock mutex conn->mta_conn_mutex that wasn't locked at storage/spider/spd_db_conn.cc, line 671
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
#if MYSQL_VERSION_ID < 50500
|
||||
#define spider_my_free(A,B) my_free(A,B)
|
||||
#define pthread_mutex_assert_owner(A)
|
||||
#define pthread_mutex_assert_not_owner(A)
|
||||
#else
|
||||
#define spider_my_free(A,B) my_free(A)
|
||||
#ifdef pthread_mutex_t
|
||||
@@ -40,6 +42,8 @@
|
||||
#undef pthread_mutex_destroy
|
||||
#endif
|
||||
#define pthread_mutex_destroy mysql_mutex_destroy
|
||||
#define pthread_mutex_assert_owner(A) mysql_mutex_assert_owner(A)
|
||||
#define pthread_mutex_assert_not_owner(A) mysql_mutex_assert_not_owner(A)
|
||||
#ifdef pthread_cond_t
|
||||
#undef pthread_cond_t
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user