summaryrefslogtreecommitdiff
path: root/client/clientOnly.cpp
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2010-08-11 12:38:57 +0200
committerAntonin Kral <a.kral@bobek.cz>2010-08-11 12:38:57 +0200
commit7645618fd3914cb8a20561625913c20d49504a49 (patch)
tree8370f846f58f6d71165b7a0e2eda04648584ec76 /client/clientOnly.cpp
parent68c73c3c7608b4c87f07440dc3232801720b1168 (diff)
downloadmongodb-7645618fd3914cb8a20561625913c20d49504a49.tar.gz
Imported Upstream version 1.6.0
Diffstat (limited to 'client/clientOnly.cpp')
-rw-r--r--client/clientOnly.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/client/clientOnly.cpp b/client/clientOnly.cpp
index 566095a..6178257 100644
--- a/client/clientOnly.cpp
+++ b/client/clientOnly.cpp
@@ -15,10 +15,11 @@
* limitations under the License.
*/
-#include "stdafx.h"
+#include "pch.h"
#include "../client/dbclient.h"
#include "../db/dbhelpers.h"
#include "../db/cmdline.h"
+#include "../s/shard.h"
namespace mongo {
@@ -57,10 +58,15 @@ namespace mongo {
uassert( 10256 , "no createDirectClient in clientOnly" , 0 );
return 0;
}
-/*
- auto_ptr<CursorIterator> Helpers::find( const char *ns , BSONObj query , bool requireIndex ){
- uassert( 10000 , "Helpers::find can't be used in client" , 0 );
- return auto_ptr<CursorIterator>(0);
+
+ void Shard::getAllShards( vector<Shard>& all ){
+ assert(0);
+ }
+
+ bool Shard::isAShard( const string& ident ){
+ assert(0);
+ return false;
}
-*/
+
+
}