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:
parent
45a10439cf
commit
fc89a866de
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user