summaryrefslogtreecommitdiff
path: root/db/instance.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-01-28 15:07:45 -0500
committerEliot Horowitz <eliot@10gen.com>2010-01-28 15:07:45 -0500
commit1864b5e78ad747a58a38d8a0332ccd5392f4e482 (patch)
tree97b506ca9487895202306811f82ade7400c1be22 /db/instance.cpp
parent51a99bbce0120aadca21e8e32a2164e2789a65ff (diff)
downloadmongo-1864b5e78ad747a58a38d8a0332ccd5392f4e482.tar.gz
cleaning something that wasn't used in years
Diffstat (limited to 'db/instance.cpp')
-rw-r--r--db/instance.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/db/instance.cpp b/db/instance.cpp
index 48ba8c178ab..e02c51cd60c 100644
--- a/db/instance.cpp
+++ b/db/instance.cpp
@@ -312,19 +312,6 @@ namespace mongo {
mongolock lk(writeLock);
-#if 0
- /* use this if you only want to process operations for a particular namespace.
- maybe add to cmd line parms or something fancier.
- */
- DbMessage ddd(m);
- if ( strncmp(ddd.getns(), "clusterstock", 12) != 0 ) {
- static int q;
- if ( ++q < 20 )
- out() << "TEMP skip " << ddd.getns() << endl;
- goto skip;
- }
-#endif
-
if ( op == dbQuery ) {
// receivedQuery() does its own authorization processing.
if ( ! receivedQuery(dbresponse, m, currentOp, true, lk) )