diff options
author | Antonin Kral <a.kral@bobek.cz> | 2011-09-14 17:08:06 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2011-09-14 17:08:06 +0200 |
commit | 5d342a758c6095b4d30aba0750b54f13b8916f51 (patch) | |
tree | 762e9aa84781f5e3b96db2c02d356c29cf0217c0 /s/d_logic.h | |
parent | cbe2d992e9cd1ea66af9fa91df006106775d3073 (diff) | |
download | mongodb-5d342a758c6095b4d30aba0750b54f13b8916f51.tar.gz |
Imported Upstream version 2.0.0
Diffstat (limited to 's/d_logic.h')
-rw-r--r-- | s/d_logic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/s/d_logic.h b/s/d_logic.h index 718836c..d96f937 100644 --- a/s/d_logic.h +++ b/s/d_logic.h @@ -173,6 +173,7 @@ namespace mongo { static ShardedConnectionInfo* get( bool create ); static void reset(); + static void addHook(); bool inForceVersionOkMode() const { return _forceVersionOk; @@ -219,7 +220,7 @@ namespace mongo { /** * @return true if the current threads shard version is ok, or not in sharded version */ - bool shardVersionOk( const string& ns , bool write , string& errmsg ); + bool shardVersionOk( const string& ns , string& errmsg ); /** * @return true if we took care of the message and nothing else should be done |