SERVER-541 disable preallocation for tools

This commit is contained in:
Aaron
2010-01-25 12:11:21 -08:00
parent 16d1616853
commit d0cd08bfb2

View File

@@ -53,6 +53,8 @@ void mongo::Tool::printHelp(ostream &out) {
}
int mongo::Tool::main( int argc , char ** argv ){
cmdLine.prealloc = false;
boost::filesystem::path::default_name_check( boost::filesystem::no_check );
_name = argv[0];