summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-01-13 14:28:04 -0500
committerAaron <aaron@10gen.com>2009-01-13 14:28:04 -0500
commit29bf72030f21f43ee3142e71bdf20f9eace527f7 (patch)
tree5a4fae35d59857054b80eb0696293a3b46ccb398 /db
parentf2bbe896668df9757a6598cce3cfa9cb15af0d80 (diff)
parent4e60ec0df1ef54a02bea0d5300e89e51efe7a58d (diff)
downloadmongo-29bf72030f21f43ee3142e71bdf20f9eace527f7.tar.gz
Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p
Diffstat (limited to 'db')
-rw-r--r--db/instance.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/instance.h b/db/instance.h
index e837cabe190..ce7e23d9d6d 100644
--- a/db/instance.h
+++ b/db/instance.h
@@ -94,4 +94,8 @@ class DBDirectClient : public DBClientBase {
virtual string toString() { return "DBDirectClient"; }
virtual bool call( Message &toSend, Message &response, bool assertOk=true );
virtual void say( Message &toSend );
+ virtual void sayPiggyBack( Message &toSend ){
+ // don't need to piggy back when connected locally
+ return say( toSend );
+ }
};