mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
overassert fixed
This commit is contained in:
parent
f26b090d41
commit
993e4fd967
@ -107,15 +107,6 @@ private:
|
||||
const char *theEnd;
|
||||
};
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
struct EmptyObject {
|
||||
EmptyObject() { len = 5; jstype = EOO; }
|
||||
int len;
|
||||
char jstype;
|
||||
} emptyObject;
|
||||
#pragma pack(pop)
|
||||
|
||||
void killCursors(int n, long long *ids);
|
||||
void receivedKillCursors(Message& m) {
|
||||
int *x = (int *) m.data->_data;
|
||||
|
11
db/query.cpp
11
db/query.cpp
@ -16,7 +16,16 @@ LRUishMap<JSObj,DiskLoc,5> lrutest(123);
|
||||
|
||||
int nextCursorId = 1;
|
||||
|
||||
JSObj emptyObj;
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
struct EmptyObject {
|
||||
EmptyObject() { len = 5; jstype = EOO; }
|
||||
int len;
|
||||
char jstype;
|
||||
} emptyObject;
|
||||
#pragma pack(pop)
|
||||
|
||||
JSObj emptyObj((char *) &emptyObject);
|
||||
|
||||
int getGtLtOp(Element& e);
|
||||
void appendElementHandlingGtLt(JSObjBuilder& b, Element& e);
|
||||
|
Loading…
Reference in New Issue
Block a user