0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
mongodb/client/clientOnly.cpp

21 lines
434 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";
}
}