diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-12-15 17:53:44 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-12-15 17:53:44 +0200 |
commit | 59b2848af6d71a4ffa849589adadfb69ed117b23 (patch) | |
tree | 6730cc8ef141e16bdd7e4e5376190877fd3114a2 | |
parent | 20da7b222deadc4a0a08f9f3c6c17d84ddfd1fff (diff) | |
download | mariadb-git-59b2848af6d71a4ffa849589adadfb69ed117b23.tar.gz |
Fix the SRW_LOCK_DUMMY build with PLUGIN_PERFSCHEMA=NO
srw_lock_low: Declare the member functions public when wrapping rw_lock_t
-rw-r--r-- | storage/innobase/include/srw_lock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/include/srw_lock.h b/storage/innobase/include/srw_lock.h index 613558464c3..635810dc75a 100644 --- a/storage/innobase/include/srw_lock.h +++ b/storage/innobase/include/srw_lock.h @@ -121,6 +121,7 @@ public: void wr_unlock() { ReleaseSRWLockExclusive(&lock); } # else rw_lock_t lock; +public: void init() { my_rwlock_init(&lock, nullptr); } void destroy() { rwlock_destroy(&lock); } void rd_lock() { rw_rdlock(&lock); } |