diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2015-04-17 12:05:25 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2015-04-17 12:05:25 -0400 |
commit | 66c8239e309d4224d9c34765f890516373fccc17 (patch) | |
tree | 6963d90dd38c6945d1040bca2785ff9f46341182 | |
parent | e1cf6419dcff3681f619e188b605af83cf8f4572 (diff) | |
download | mongo-66c8239e309d4224d9c34765f890516373fccc17.tar.gz |
assert code fix
-rw-r--r-- | src/mongo/db/repl/oplog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp index ffbdafc9714..3dfa275a1a7 100644 --- a/src/mongo/db/repl/oplog.cpp +++ b/src/mongo/db/repl/oplog.cpp @@ -452,7 +452,7 @@ namespace { namespace { NamespaceString parseNs(const string& ns, const BSONObj& cmdObj) { BSONElement first = cmdObj.firstElement(); - uassert(28631, + uassert(28635, "no collection name specified", first.canonicalType() == canonicalizeBSONType(mongo::String) && first.valuestrsize() > 0); |