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

21 lines
436 B
C++
Raw Normal View History

#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;
2009-01-25 22:25:36 +01:00
::exit( returnCode );
}
string getDbContext() {
return "in client only mode";
}
}