0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00
mongodb/client/clientOnly.cpp
2009-01-25 16:25:36 -05:00

21 lines
436 B
C++

#include "../stdafx.h"
namespace mongo {
const char * curNs = "in client mode";
// Database* database = 0;
void dbexit(int returnCode, const char *whyMsg ) {
out() << "dbexit called" << endl;
if ( whyMsg )
out() << " b/c " << whyMsg << endl;
out() << "exiting" << endl;
::exit( returnCode );
}
string getDbContext() {
return "in client only mode";
}
}