summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbmessage.h
diff options
context:
space:
mode:
authorWaley Chen <waleycz@gmail.com>2016-03-14 15:46:02 -0400
committerWaley Chen <waleycz@gmail.com>2016-03-17 16:43:04 -0400
commitfd45f0311d634198060128001fac04ecbcefc808 (patch)
tree6ee3f682c642afb62d477500556e1a10b0db29ec /src/mongo/db/dbmessage.h
parent13435ba4e4ae6df60bc6999ccadd973fe34a5d14 (diff)
downloadmongo-fd45f0311d634198060128001fac04ecbcefc808.tar.gz
SERVER-20077 requestId field of message header should always be a signed integer
Diffstat (limited to 'src/mongo/db/dbmessage.h')
-rw-r--r--src/mongo/db/dbmessage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/dbmessage.h b/src/mongo/db/dbmessage.h
index 7cc1d62268c..976e4b37de1 100644
--- a/src/mongo/db/dbmessage.h
+++ b/src/mongo/db/dbmessage.h
@@ -313,9 +313,9 @@ public:
*/
struct DbResponse {
Message response;
- MSGID responseTo;
+ int32_t responseToMsgId;
std::string exhaustNS; /* points to ns if exhaust mode. 0=normal mode*/
- DbResponse(Message r, MSGID rt) : response(std::move(r)), responseTo(rt) {}
+ DbResponse(Message r, int32_t rtId) : response(std::move(r)), responseToMsgId(rtId) {}
DbResponse() = default;
};