summaryrefslogtreecommitdiff
path: root/db/dbeval.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-12-28 16:43:43 -0500
committerEliot Horowitz <eliot@10gen.com>2009-12-28 16:43:43 -0500
commit0ab8149a8e9e900b63ee28b9590a249578339376 (patch)
tree564a5c516b7c308964b79ea761e4800efe26d252 /db/dbeval.cpp
parent95137f262c2a57831dccf058428a2f64e900496e (diff)
downloadmongo-0ab8149a8e9e900b63ee28b9590a249578339376.tar.gz
uassert/massert take error code SERVER-112
Diffstat (limited to 'db/dbeval.cpp')
-rw-r--r--db/dbeval.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/dbeval.cpp b/db/dbeval.cpp
index b20385035ac..7f5b74ff80e 100644
--- a/db/dbeval.cpp
+++ b/db/dbeval.cpp
@@ -39,7 +39,7 @@ namespace mongo {
bool dbEval(const char *ns, BSONObj& cmd, BSONObjBuilder& result, string& errmsg) {
BSONElement e = cmd.firstElement();
- uassert( "eval needs Code" , e.type() == Code || e.type() == CodeWScope || e.type() == String );
+ uassert( 10046 , "eval needs Code" , e.type() == Code || e.type() == CodeWScope || e.type() == String );
const char *code = 0;
switch ( e.type() ) {