diff options
author | Antonin Kral <a.kral@bobek.cz> | 2012-03-01 13:43:25 +0100 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2012-03-01 13:43:25 +0100 |
commit | ba59b00736b5b8dc0f0bd46397575aaf0cd4d44f (patch) | |
tree | 6364cf3f69677758a13f7aa5f6f06a8ebb652d98 /tools/tool.h | |
parent | f0d9a01bccdaeb466c12c92057914bbfef59526c (diff) | |
download | mongodb-ba59b00736b5b8dc0f0bd46397575aaf0cd4d44f.tar.gz |
Imported Upstream version 2.0.3
Diffstat (limited to 'tools/tool.h')
-rw-r--r-- | tools/tool.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/tool.h b/tools/tool.h index e6694f3..e401093 100644 --- a/tools/tool.h +++ b/tools/tool.h @@ -82,9 +82,13 @@ namespace mongo { return _db + "." + _coll; } + void useStandardOutput( bool mode ) { + _usesstdout = mode; + } + bool isMaster(); bool isMongos(); - + virtual void preSetup() {} virtual int run() = 0; |