summaryrefslogtreecommitdiff
path: root/db/instance.h
diff options
context:
space:
mode:
authorDwight Merriman <dwight@10gen.com>2010-04-23 19:32:21 -0400
committerDwight Merriman <dwight@10gen.com>2010-04-23 19:32:21 -0400
commit1a277506821045e4edea4971cfb10931df046183 (patch)
treeb7db93619ed5f85d64311ff215cf8a68077bdb2d /db/instance.h
parent3f179391fb690cf9463add768456085fe6b30e78 (diff)
downloadmongo-1a277506821045e4edea4971cfb10931df046183.tar.gz
opread doesnt need to be a macro
Diffstat (limited to 'db/instance.h')
-rw-r--r--db/instance.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/db/instance.h b/db/instance.h
index ad3a7b416bf..d29015c8c59 100644
--- a/db/instance.h
+++ b/db/instance.h
@@ -29,9 +29,6 @@ namespace mongo {
extern string dbExecCommand;
-#define OPWRITE if( _diaglog.level & 1 ) _diaglog.write((char *) m.data, m.data->len);
-#define OPREAD if( _diaglog.level & 2 ) _diaglog.readop((char *) m.data, m.data->len);
-
struct DiagLog {
ofstream *f;
/* 0 = off; 1 = writes, 2 = reads, 3 = both