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:
parent
51ae720798
commit
c4e874bed7
@ -79,6 +79,9 @@ public:
|
||||
ns += "." + l;
|
||||
}
|
||||
|
||||
if ( boost::filesystem::file_size( root ) == 0 )
|
||||
return;
|
||||
|
||||
out() << "\t going into namespace [" << ns << "]" << endl;
|
||||
|
||||
MemoryMappedFile mmf;
|
||||
|
Loading…
Reference in New Issue
Block a user