set up mongo program scope; debugging MINOR

This commit is contained in:
Aaron
2009-05-14 13:19:45 -04:00
parent 774f8ec70c
commit c232600f16
2 changed files with 10 additions and 0 deletions

View File

@@ -267,6 +267,8 @@ int main(int argc, char* argv[]) {
for ( ; argNumber < argc; argNumber++) {
const char* str = argv[argNumber];
mongo::shellUtils::MongoProgramScope s;
if ( ! scope->execFile( str , false , true , false ) ){
return -3;
}