Put our code in 'mongo' namespace

This commit is contained in:
Aaron
2009-01-14 17:09:51 -05:00
parent 023535d844
commit ad1f6b3cbd
97 changed files with 535 additions and 25 deletions

View File

@@ -26,6 +26,8 @@
#include "instance.h"
#include "lasterror.h"
namespace mongo {
int nloggedsome = 0;
#define LOGSOME if( ++nloggedsome < 1000 || nloggedsome % 100 == 0 )
@@ -520,3 +522,5 @@ void dbexit(int rc, const char *why) {
exit(rc);
}
} // namespace mongo