diff options
Diffstat (limited to 'src/mongo/s/cursors.h')
-rw-r--r-- | src/mongo/s/cursors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/cursors.h b/src/mongo/s/cursors.h index 8666d2d5497..b42ea7538d7 100644 --- a/src/mongo/s/cursors.h +++ b/src/mongo/s/cursors.h @@ -67,6 +67,8 @@ namespace mongo { /** @return idle time in ms */ long long idleTime( long long now ); + std::string getNS() { return _cursor->getNS(); } + // The default initial buffer size for sending responses. static const int INIT_REPLY_BUFFER_SIZE; |