diff options
Diffstat (limited to 'tools/tool.cpp')
-rw-r--r-- | tools/tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tool.cpp b/tools/tool.cpp index e8c23d5..ab464c7 100644 --- a/tools/tool.cpp +++ b/tools/tool.cpp @@ -402,7 +402,7 @@ namespace mongo { // findOne throws an AssertionException if it's not authenticated. if (_coll.size() > 0) { // BSONTools don't have a collection - conn().findOne(getNS(), Query("{}")); + conn().findOne(getNS(), Query("{}"), 0, QueryOption_SlaveOk); } return; } |