diff options
author | U-ELIOT-019992DFC\Administrator <Administrator@eliot-019992dfc.(none)> | 2009-02-11 09:15:34 -0500 |
---|---|---|
committer | U-ELIOT-019992DFC\Administrator <Administrator@eliot-019992dfc.(none)> | 2009-02-11 09:15:34 -0500 |
commit | 1515ab7f6bb227520e81f8eed88821af1fc9c2b4 (patch) | |
tree | b7a4154ed8c412f13f04cdcbed3cd0cdc48d0b29 /db/nonce.cpp | |
parent | c68d42e36c5516fab7e975f6b6bd422c4779509f (diff) | |
download | mongo-1515ab7f6bb227520e81f8eed88821af1fc9c2b4.tar.gz |
hack to not do deal with c/c++ link issue on windows release build
only effects md5 test on win release
Diffstat (limited to 'db/nonce.cpp')
-rw-r--r-- | db/nonce.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db/nonce.cpp b/db/nonce.cpp index c58195baf8f..da38f217aef 100644 --- a/db/nonce.cpp +++ b/db/nonce.cpp @@ -34,8 +34,10 @@ namespace mongo { #endif assert( sizeof(nonce) == 8 ); +#ifndef NDEBUG if ( do_md5_test() ) - massert("md5 unit test fails", false); + massert("md5 unit test fails", false); +#endif } nonce Security::getNonce(){ |