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

Add dummy sizeOnDisk for in-memory databases; 1 is Eliot's suggested sentinel value

This commit is contained in:
Aaron 2009-02-06 16:50:08 -05:00
parent 45a10439cf
commit fc89a866de

View File

@ -689,7 +689,7 @@ namespace mongo {
if ( seen.count( name ) )
continue;
dbInfos.push_back( BSON( "name" << name ) );
dbInfos.push_back( BSON( "name" << name << "sizeOnDisk" << double( 1 ) ) );
}
result.append( "databases", dbInfos );