summaryrefslogtreecommitdiff
path: root/server-tools/instance-manager/instance_map.cc
diff options
context:
space:
mode:
authorpetr@mysql.com <>2004-11-04 02:42:22 +0300
committerpetr@mysql.com <>2004-11-04 02:42:22 +0300
commit13570dcf9fdf76be097e3b4bece9500544006e5b (patch)
tree6d2450c7dc0de75f76d5277fc4b898a09911e4e9 /server-tools/instance-manager/instance_map.cc
parentd3dc041dd157db1e971873a8188ef85fb0f9ecc0 (diff)
downloadmariadb-git-13570dcf9fdf76be097e3b4bece9500544006e5b.tar.gz
linking problem fix
Diffstat (limited to 'server-tools/instance-manager/instance_map.cc')
-rw-r--r--server-tools/instance-manager/instance_map.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-tools/instance-manager/instance_map.cc b/server-tools/instance-manager/instance_map.cc
index 12f0c799d50..3a0d408dc1c 100644
--- a/server-tools/instance-manager/instance_map.cc
+++ b/server-tools/instance-manager/instance_map.cc
@@ -141,13 +141,13 @@ Instance_map::~Instance_map()
int Instance_map::lock()
{
- pthread_mutex_lock(&LOCK_instance_map);
+ return pthread_mutex_lock(&LOCK_instance_map);
}
int Instance_map::unlock()
{
- pthread_mutex_unlock(&LOCK_instance_map);
+ return pthread_mutex_unlock(&LOCK_instance_map);
}