fix client compile
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
*/
|
||||
|
||||
#include "../stdafx.h"
|
||||
#include "../client/dbclient.h"
|
||||
#include "../db/dbinfo.h"
|
||||
#include "../db/dbhelpers.h"
|
||||
|
||||
namespace mongo {
|
||||
|
||||
@@ -47,4 +50,10 @@ namespace mongo {
|
||||
bool haveLocalShardingInfo( const string& ns ){
|
||||
return false;
|
||||
}
|
||||
|
||||
auto_ptr<CursorIterator> Helpers::find( const char *ns , BSONObj query , bool requireIndex ){
|
||||
uassert( "Helpers::find can't be used in client" , 0 );
|
||||
auto_ptr<CursorIterator> i;
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user