summaryrefslogtreecommitdiff
path: root/db/query.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-02-13 00:26:39 -0500
committerDwight <dmerriman@gmail.com>2008-02-13 00:26:39 -0500
commitb59d9b5f65cd819c528282cafbeaab95d0775efb (patch)
treef08526b1f09b02051fbf2b80dfbac02f9ea77546 /db/query.h
parent4f4c54fcbbf19207429e58d18f333957756874bc (diff)
downloadmongo-b59d9b5f65cd819c528282cafbeaab95d0775efb.tar.gz
cursor cleanup
Diffstat (limited to 'db/query.h')
-rw-r--r--db/query.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/query.h b/db/query.h
index 8f6891b8704..bb102ac4196 100644
--- a/db/query.h
+++ b/db/query.h
@@ -33,6 +33,10 @@
string collection; // redundant, might use for security.
int nToReturn;
int64 cursorID;
+ dbKillCursors=2007
+ int reserved;
+ int n;
+ int64 cursorIDs[n];
Note that on Update, there is only one object, which is different
from insert where you can pass a list of objects to insert in the db.