summaryrefslogtreecommitdiff
path: root/db/dbmessage.h
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2011-03-17 14:31:16 -0700
committerAaron <aaron@10gen.com>2011-03-17 14:32:36 -0700
commit1ef7155a4e48629bf94c5f6083f35eae4b17b2da (patch)
treec56922f000b2f908555229102bdbe993c542b85b /db/dbmessage.h
parent12cbfefae2cbc9cea292ff564d495806b74f9762 (diff)
downloadmongo-1ef7155a4e48629bf94c5f6083f35eae4b17b2da.tar.gz
SERVER-2552 initialize result flags for empty get more result
Diffstat (limited to 'db/dbmessage.h')
-rw-r--r--db/dbmessage.h3
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()