0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 16:47:28 +01:00

put connectionId in currentOp()

This commit is contained in:
Eliot Horowitz 2011-09-09 12:32:17 -04:00
parent 21855b87fc
commit 211452b5fe

View File

@ -418,6 +418,8 @@ namespace mongo {
b.append( "desc" , _client->desc() );
if ( _client->_threadId.size() )
b.append( "threadId" , _client->_threadId );
if ( _client->_connectionId )
b.appendNumber( "connectionId" , _client->_connectionId );
}
if ( ! _message.empty() ) {