smshell: more utils working, some other fixes

This commit is contained in:
Eliot Horowitz
2009-05-13 23:15:59 -04:00
parent 7ce30a5699
commit 67d9c8bbde
10 changed files with 200 additions and 100 deletions

View File

@@ -9,6 +9,7 @@
#include "../scripting/engine.h"
#include "../client/dbclient.h"
#include "utils.h"
extern const char * jsconcatcode;
@@ -240,6 +241,7 @@ int main(int argc, char* argv[]) {
}
scope->externalSetup();
mongo::shellUtils::installShellUtils( *scope );
if ( !nodb ) { // connect to db
cout << "url: " << url << endl;