summaryrefslogtreecommitdiff
path: root/s/d_logic.cpp
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-01-12 16:11:47 -0500
committerdwight <dwight@10gen.com>2011-01-12 16:11:47 -0500
commit72fdc637c985ca2fc8f8135e046867efeaa87e30 (patch)
treee33477c09930bb37eb8140e32a9d1fb09bb0b3f2 /s/d_logic.cpp
parentdd02c70f72fdd652d2c51db443457805840bf5c0 (diff)
downloadmongo-72fdc637c985ca2fc8f8135e046867efeaa87e30.tar.gz
inline a little for speed
Diffstat (limited to 's/d_logic.cpp')
-rw-r--r--s/d_logic.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/s/d_logic.cpp b/s/d_logic.cpp
index 1df05ac6732..c0328832d1a 100644
--- a/s/d_logic.cpp
+++ b/s/d_logic.cpp
@@ -43,9 +43,8 @@ using namespace std;
namespace mongo {
- bool handlePossibleShardedMessage( Message &m, DbResponse* dbresponse ) {
- if ( ! shardingState.enabled() )
- return false;
+ bool _handlePossibleShardedMessage( Message &m, DbResponse* dbresponse ) {
+ DEV assert( shardingState.enabled() );
int op = m.operation();
if ( op < 2000