summaryrefslogtreecommitdiff
path: root/src/mongo/client/parallel.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2012-11-27 15:44:13 -0500
committerSpencer T Brody <spencer@10gen.com>2012-12-07 11:38:54 -0500
commitfaf643fbbc9cf187c6b76d13ecd395d1eec04161 (patch)
treeb6ab3d9911793d039e498b5bb71f329d501aab9b /src/mongo/client/parallel.h
parent90440532fca3ce59383ad7e36437191f4819b3fc (diff)
downloadmongo-faf643fbbc9cf187c6b76d13ecd395d1eec04161.tar.gz
Check authorization in the new AuthorizationManager SERVER-7572
Diffstat (limited to 'src/mongo/client/parallel.h')
-rw-r--r--src/mongo/client/parallel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/client/parallel.h b/src/mongo/client/parallel.h
index 23f248c71d2..cb7fdad6eaf 100644
--- a/src/mongo/client/parallel.h
+++ b/src/mongo/client/parallel.h
@@ -79,6 +79,8 @@ namespace mongo {
/** call before using */
void init();
+ virtual std::string getNS() { return _ns; }
+
virtual bool more() = 0;
virtual BSONObj next() = 0;