Files
mongo/client/clientOnly.cpp

24 lines
468 B
C++
Raw Normal View History

#include "../stdafx.h"
namespace mongo {
const char * curNs = "in client mode";
bool quiet = false;
// Database* database = 0;
void dbexit( ExitCode returnCode, const char *whyMsg ) {
out() << "dbexit called" << endl;
if ( whyMsg )
out() << " b/c " << whyMsg << endl;
out() << "exiting" << endl;
2009-01-25 16:25:36 -05:00
::exit( returnCode );
}
string getDbContext() {
return "in client only mode";
}
}