mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Update Mroonga to the latest version on 2015-02-17T13:34:27+0900
This commit is contained in:
@@ -20,12 +20,12 @@
|
||||
#include "mrn_lock.hpp"
|
||||
|
||||
namespace mrn {
|
||||
Lock::Lock(pthread_mutex_t *mutex)
|
||||
Lock::Lock(mysql_mutex_t *mutex)
|
||||
: mutex_(mutex) {
|
||||
pthread_mutex_lock(mutex_);
|
||||
mysql_mutex_lock(mutex_);
|
||||
}
|
||||
|
||||
Lock::~Lock() {
|
||||
pthread_mutex_unlock(mutex_);
|
||||
mysql_mutex_unlock(mutex_);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user