diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-12-22 13:26:54 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-12-22 13:32:03 -0500 |
commit | 1a1b3326e084e1f62b17ca321a730840a7e8ef55 (patch) | |
tree | 6a8b09a623a69085dcee666d8a4c09c5e9c63e39 /db/pdfile.cpp | |
parent | 6821e09a571f743e36eca217e464e178274cedda (diff) | |
download | mongo-1a1b3326e084e1f62b17ca321a730840a7e8ef55.tar.gz |
better invalid ns message
Diffstat (limited to 'db/pdfile.cpp')
-rw-r--r-- | db/pdfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/pdfile.cpp b/db/pdfile.cpp index bd00f08df5a..c9fe229d7c1 100644 --- a/db/pdfile.cpp +++ b/db/pdfile.cpp @@ -272,7 +272,7 @@ namespace mongo { */ bool userCreateNS(const char *ns, BSONObj options, string& err, bool logForReplication, bool *deferIdIndex) { const char *coll = strchr( ns, '.' ) + 1; - massert( 10356 , "invalid ns", coll && *coll ); + massert( 10356 , str::stream() << "invalid ns: " << ns , coll && *coll ); char cl[ 256 ]; nsToDatabase( ns, cl ); bool ok = _userCreateNS(ns, options, err, deferIdIndex); |