Files
mongo/client/clientOnly.cpp
2009-01-15 10:17:11 -05:00

24 lines
451 B
C++

#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";
}
}