put fields into system.profile, not a big string SERVER-3061

This commit is contained in:
Eliot Horowitz
2011-05-08 00:53:07 -04:00
parent bdf6318aa3
commit 9e4087883d
7 changed files with 107 additions and 19 deletions

View File

@@ -373,7 +373,7 @@ namespace mongo {
writelock lk;
if ( dbHolder.isLoaded( nsToDatabase( currentOp.getNS() ) , dbpath ) ) {
Client::Context cx( currentOp.getNS() );
profile(c , currentOp, ms);
profile(c , currentOp );
}
else {
mongo::log() << "note: not profiling because db went away - probably a close on: " << currentOp.getNS() << endl;