Skip to content

Commit

Permalink
Removed bug where state was attempted set on db instance
Browse files Browse the repository at this point in the history
  • Loading branch information
christkv committed Dec 15, 2011
1 parent 18d9992 commit 504d6df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/mongodb/connection/server.js
Expand Up @@ -159,8 +159,6 @@ Server.prototype.connect = function(dbInstance, options, callback) {
server.connectionPool.setMaxBsonSize(reply.documents[0].maxBsonObjectSize);
// Set server as connected
server.connected = true;
// Set db as connected
dbInstance.state = 'connected';

// If we have it set to returnIsMasterResults
if(returnIsMasterResults) {
Expand Down

0 comments on commit 504d6df

Please sign in to comment.