Files
mongo/client/clientOnly.cpp

24 lines
451 B
C++
Raw Normal View History

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