summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2008-08-28 20:34:44 -0400
committerEliot Horowitz <eliot@10gen.com>2008-08-28 20:34:44 -0400
commitfd876a27f769b22bfe6cd48f45cf3c4e3704c9b7 (patch)
tree374324e1ca40890cfb40a638e36082c90cf89c9d
parent5bd0db4c4c9ec3a8b9bc0c14d2157f5ffc013b3f (diff)
downloadmongo-fd876a27f769b22bfe6cd48f45cf3c4e3704c9b7.tar.gz
fix a possible typo??
dwight - please verify
-rw-r--r--db/namespace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/namespace.cpp b/db/namespace.cpp
index f05e82fd67d..eea9f1e66fe 100644
--- a/db/namespace.cpp
+++ b/db/namespace.cpp
@@ -327,7 +327,7 @@ void NamespaceDetailsTransient::computeIndexKeys() {
*/
void addNewNamespaceToCatalog(const char *ns, JSObj *options = 0) {
log() << "New namespace: " << ns << endl;
- if( strstr(ns, "system.namespaces``") ) {
+ if( strstr(ns, "system.namespaces") ) {
// system.namespaces holds all the others, so it is not explicitly listed in the catalog.
// TODO: fix above should not be strstr!
return;