diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-02-19 13:26:25 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-02-19 13:26:25 -0500 |
commit | a55abd3fa2e443d62d4ed473df48468c6ea89e1c (patch) | |
tree | d2436cf4053ef7255b3ca54cb62eedf514e928db /s/strategy_single.cpp | |
parent | 524e8fd53cbde680c033c7ee3f0dff211224615d (diff) | |
download | mongo-a55abd3fa2e443d62d4ed473df48468c6ea89e1c.tar.gz |
lots of low level shard infrastructure in place now
Diffstat (limited to 's/strategy_single.cpp')
-rw-r--r-- | s/strategy_single.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/s/strategy_single.cpp b/s/strategy_single.cpp index d300617d022..5a4e0c81b02 100644 --- a/s/strategy_single.cpp +++ b/s/strategy_single.cpp @@ -34,7 +34,7 @@ namespace mongo { DBClientConnection&c = dynamic_cast<DBClientConnection&>(_c); Message response; bool ok = c.port().call( r.m(), response); - uassert("dbgrid: error calling db", ok); + uassert("mongos: error calling db", ok); lateAssert = true; r.reply( response ); dbcon.done(); @@ -42,7 +42,7 @@ namespace mongo { catch ( AssertionException& e ) { assert( !lateAssert ); BSONObjBuilder err; - err.append("$err", string("dbgrid ") + (e.msg.empty() ? "dbgrid assertion during query" : e.msg)); + err.append("$err", string("mongos: ") + (e.msg.empty() ? "assertion during query" : e.msg)); BSONObj errObj = err.done(); replyToQuery(QueryResult::ResultFlag_ErrSet, r.p() , r.m() , errObj); return; |