summaryrefslogtreecommitdiff
path: root/db/query.h
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-04-09 13:30:28 -0400
committerAaron <aaron@10gen.com>2009-04-09 13:30:28 -0400
commit26bddf1ef82c09f09258061379b7ef1d6e45804c (patch)
tree5b4a1c0d8874a2bd422bf10ba414c702f407893c /db/query.h
parent0477604065e143df1df13da1afe3497230a6c21a (diff)
downloadmongo-26bddf1ef82c09f09258061379b7ef1d6e45804c.tar.gz
log separate op for each deleted object
Diffstat (limited to 'db/query.h')
-rw-r--r--db/query.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/query.h b/db/query.h
index af38fca4d5e..62f4f5925bb 100644
--- a/db/query.h
+++ b/db/query.h
@@ -76,7 +76,7 @@ namespace mongo {
bool updateObjects(const char *ns, BSONObj updateobj, BSONObj pattern, bool upsert, stringstream& ss);
// If justOne is true, deletedId is set to the id of the deleted object.
- int deleteObjects(const char *ns, BSONObj pattern, bool justOne, BSONObj *deletedId = 0, bool god=false);
+ int deleteObjects(const char *ns, BSONObj pattern, bool justOne, bool logop = false, bool god=false);
long long runCount(const char *ns, const BSONObj& cmd, string& err);