summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-08-13 13:26:47 -0400
committerDwight <dmerriman@gmail.com>2009-08-13 13:26:47 -0400
commit062e60a661665b1386e96dc6558bc67f22f57a61 (patch)
tree3682a097bc714da02aada5bf1c2bf3f2e4842197
parent03a3531a42c944c33eb7a2378fd86faf687be60d (diff)
downloadmongo-062e60a661665b1386e96dc6558bc67f22f57a61.tar.gz
cleaning MINOR
-rw-r--r--db/pdfile.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/db/pdfile.cpp b/db/pdfile.cpp
index 238d96a71fa..bf27f938131 100644
--- a/db/pdfile.cpp
+++ b/db/pdfile.cpp
@@ -1155,8 +1155,6 @@ assert( !eloc.isNull() );
DiskLoc DataFileMgr::insert(const char *ns, const void *obuf, int len, bool god, const BSONElement &writeId, bool mayAddIndex) {
bool wouldAddIndex = false;
-// if( !god && strchr(ns,'$') )
-// cout << "TEMP";
uassert("cannot insert into reserved $ collection", god || strchr(ns, '$') == 0 );
const char *sys = strstr(ns, "system.");
if ( sys ) {