stackmob/mongo-java-driver — comment on commit 2bef7d79f1a527f89fceafb01d981acd550aa6ee
File: src/main/com/mongodb/Mongo.java line 309
By milesoc:

As an optimization, it's better if this only happens when you're creating a new db:

```java
if (cmd != null && temp == null)
```