Commit 841b72e1 authored by Yoni Fogel's avatar Yoni Fogel

Addresses #2150 refs[t:2150] Fix compile

git-svn-id: file:///svn/toku/tokudb.2037b@15677 c7de825b-a66e-492c-adef-691d508d4ae1
parent a761b423
......@@ -114,7 +114,7 @@ toku_ydb_lock_destroy(void) {
void
toku_ydb_lock(void) {
#if !YDB_LOCK_MISS_TIME
int r = toku_pthread_mutex_lock(&ydb_big_lock); assert(r == 0);
int r = toku_pthread_mutex_lock(&ydb_big_lock.lock); assert(r == 0);
#endif
#if YDB_LOCK_MISS_TIME
......@@ -168,7 +168,7 @@ toku_ydb_unlock(void) {
assert((status.ydb_lock_ctr & 0x01) == 0);
#if !YDB_LOCK_MISS_TIME
int r = toku_pthread_mutex_unlock(&ydb_big_lock); assert(r == 0);
int r = toku_pthread_mutex_unlock(&ydb_big_lock.lock); assert(r == 0);
#endif
#if YDB_LOCK_MISS_TIME
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment