summaryrefslogtreecommitdiff
path: root/s/strategy.h
diff options
context:
space:
mode:
Diffstat (limited to 's/strategy.h')
-rw-r--r--s/strategy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/s/strategy.h b/s/strategy.h
index 78c5af6f90b..9bbd2e4077b 100644
--- a/s/strategy.h
+++ b/s/strategy.h
@@ -32,6 +32,8 @@ namespace mongo {
virtual void getMore( Request& r ) = 0;
virtual void writeOp( int op , Request& r ) = 0;
+ virtual void insertSharded( DBConfigPtr conf, const char* ns, BSONObj& o, int flags ) = 0;
+
protected:
void doWrite( int op , Request& r , const Shard& shard , bool checkVersion = true );
void doQuery( Request& r , const Shard& shard );