diff options
author | Benety Goh <benety@mongodb.com> | 2015-06-19 15:53:06 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2015-06-19 16:49:37 -0400 |
commit | c43019679a54aca9e729128193fb15c5f860d0e0 (patch) | |
tree | 7a1a2214a84a12eff556291ba7a2918de66928ac /src/mongo/db/repl/database_cloner.h | |
parent | d09fdf2b5887bfd6773f1a6da374a1ff7fc0e242 (diff) | |
download | mongo-c43019679a54aca9e729128193fb15c5f860d0e0.tar.gz |
SERVER-18036 renamed Fetcher::BatchData to QueryResponse
Fetcher callback semantics also updated so that when NextAction is NoAction,
the follow up command BSON builder will be null.
Diffstat (limited to 'src/mongo/db/repl/database_cloner.h')
-rw-r--r-- | src/mongo/db/repl/database_cloner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/database_cloner.h b/src/mongo/db/repl/database_cloner.h index 071b33d0e96..f1171bf5e4b 100644 --- a/src/mongo/db/repl/database_cloner.h +++ b/src/mongo/db/repl/database_cloner.h @@ -138,7 +138,7 @@ namespace repl { /** * Read collection names and options from listCollections result. */ - void _listCollectionsCallback(const StatusWith<Fetcher::BatchData>& fetchResult, + void _listCollectionsCallback(const StatusWith<Fetcher::QueryResponse>& fetchResult, Fetcher::NextAction* nextAction, BSONObjBuilder* getMoreBob); |