0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

don't try to import files of size 0

This commit is contained in:
yellow 2009-01-31 21:46:47 +00:00
parent 51ae720798
commit c4e874bed7

View File

@ -79,6 +79,9 @@ public:
ns += "." + l;
}
if ( boost::filesystem::file_size( root ) == 0 )
return;
out() << "\t going into namespace [" << ns << "]" << endl;
MemoryMappedFile mmf;