summaryrefslogtreecommitdiff
path: root/db/repl.h
diff options
context:
space:
mode:
authordwight <dwight@Dwights-MacBook.local>2008-08-25 16:53:19 -0400
committerdwight <dwight@Dwights-MacBook.local>2008-08-25 16:53:19 -0400
commit26d42343623aea234c12a46a23204a40eed09747 (patch)
treed6650d77025179d022f9a521e9d6bda5c6d59e6d /db/repl.h
parent94f9bdee473f53837e5ec052526f40d857eb9d1e (diff)
downloadmongo-26d42343623aea234c12a46a23204a40eed09747.tar.gz
minor repl; ocmments
Diffstat (limited to 'db/repl.h')
-rw-r--r--db/repl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/repl.h b/db/repl.h
index e73359fd52a..e4c95bfa21e 100644
--- a/db/repl.h
+++ b/db/repl.h
@@ -122,6 +122,10 @@ public:
};
/* Write operation to the log (local.oplog.$main)
+ "i" insert
+ "u" update
+ "d" delete
+ "c" db cmd
*/
void _logOp(const char *opstr, const char *ns, JSObj& obj, JSObj *patt, bool *b);
inline void logOp(const char *opstr, const char *ns, JSObj& obj, JSObj *patt = 0, bool *b = 0) {