diff options
author | dwight <dwight@10gen.com> | 2011-01-12 16:11:47 -0500 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2011-01-12 16:11:47 -0500 |
commit | 72fdc637c985ca2fc8f8135e046867efeaa87e30 (patch) | |
tree | e33477c09930bb37eb8140e32a9d1fb09bb0b3f2 /s/d_logic.cpp | |
parent | dd02c70f72fdd652d2c51db443457805840bf5c0 (diff) | |
download | mongo-72fdc637c985ca2fc8f8135e046867efeaa87e30.tar.gz |
inline a little for speed
Diffstat (limited to 's/d_logic.cpp')
-rw-r--r-- | s/d_logic.cpp | 5 |
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 |