mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
21 lines
436 B
C++
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";
|
|
}
|
|
}
|