diff options
author | Aaron <aaron@10gen.com> | 2011-03-17 14:31:16 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2011-03-17 14:32:36 -0700 |
commit | 1ef7155a4e48629bf94c5f6083f35eae4b17b2da (patch) | |
tree | c56922f000b2f908555229102bdbe993c542b85b /db/dbmessage.h | |
parent | 12cbfefae2cbc9cea292ff564d495806b74f9762 (diff) | |
download | mongo-1ef7155a4e48629bf94c5f6083f35eae4b17b2da.tar.gz |
SERVER-2552 initialize result flags for empty get more result
Diffstat (limited to 'db/dbmessage.h')
-rw-r--r-- | db/dbmessage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/dbmessage.h b/db/dbmessage.h index cc1d1d810d1..1929b150b8e 100644 --- a/db/dbmessage.h +++ b/db/dbmessage.h @@ -53,6 +53,9 @@ namespace mongo { void setResultFlagsToOk() { _resultFlags() = ResultFlag_AwaitCapable; } + void initializeResultFlags() { + _resultFlags() = 0; + } }; #pragma pack() |