diff options
author | ndbdev@ndbmaster.mysql.com <> | 2004-05-11 22:23:29 +0200 |
---|---|---|
committer | ndbdev@ndbmaster.mysql.com <> | 2004-05-11 22:23:29 +0200 |
commit | 9a12b80a5be7f6d4505cb2d4191fa9eb68416a28 (patch) | |
tree | 5c9d3393065c90aac37e52322057cd2c0333106d | |
parent | b886afc0337a5607ea697f698acf243f446015de (diff) | |
download | mariadb-git-9a12b80a5be7f6d4505cb2d4191fa9eb68416a28.tar.gz |
Inverted #ifdef on HAVE_MLOCKALL
-rw-r--r-- | BitKeeper/etc/logging_ok | 1 | ||||
-rw-r--r-- | ndb/src/common/portlib/unix/NdbMem.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index 35ea9b2f778..809450042a1 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -112,6 +112,7 @@ mwagner@work.mysql.com mydev@mysql.com mysql@home.(none) mysqldev@build.mysql2.com +ndbdev@ndbmaster.mysql.com nick@mysql.com nick@nick.leippe.com papa@gbichot.local diff --git a/ndb/src/common/portlib/unix/NdbMem.c b/ndb/src/common/portlib/unix/NdbMem.c index 4ddb5b52ecd..ce422f45a9d 100644 --- a/ndb/src/common/portlib/unix/NdbMem.c +++ b/ndb/src/common/portlib/unix/NdbMem.c @@ -54,7 +54,7 @@ void NdbMem_Free(void* ptr) int NdbMem_MemLockAll(){ -#ifdef HAVE_MLOCKALL +#ifndef HAVE_MLOCKALL return -1; #else return mlockall(MCL_CURRENT); @@ -62,7 +62,7 @@ int NdbMem_MemLockAll(){ } int NdbMem_MemUnlockAll(){ -#ifdef HAVE_MLOCKALL +#ifndef HAVE_MLOCKALL return -1; #else return munlockall(); |