summaryrefslogtreecommitdiff
path: root/s/d_logic.h
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2011-09-14 17:08:06 +0200
committerAntonin Kral <a.kral@bobek.cz>2011-09-14 17:08:06 +0200
commit5d342a758c6095b4d30aba0750b54f13b8916f51 (patch)
tree762e9aa84781f5e3b96db2c02d356c29cf0217c0 /s/d_logic.h
parentcbe2d992e9cd1ea66af9fa91df006106775d3073 (diff)
downloadmongodb-5d342a758c6095b4d30aba0750b54f13b8916f51.tar.gz
Imported Upstream version 2.0.0
Diffstat (limited to 's/d_logic.h')
-rw-r--r--s/d_logic.h3
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