mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
todo for cursor kill
This commit is contained in:
parent
cd9d750a93
commit
ab581691b5
@ -259,6 +259,13 @@ BSONObj DBClientCursor::next() {
|
||||
return o;
|
||||
}
|
||||
|
||||
DBClientCursor::~DBClientCursor(){
|
||||
if ( cursorId ){
|
||||
cerr << "TODO: need to kill the cursor here __FILE__:__LINE__" << endl;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------ */
|
||||
|
||||
// "./db testclient" to invoke
|
||||
|
@ -109,6 +109,8 @@ public:
|
||||
cursorId = 0;
|
||||
}
|
||||
|
||||
virtual ~DBClientCursor();
|
||||
|
||||
private:
|
||||
DBConnector *connector;
|
||||
string ns;
|
||||
|
Loading…
Reference in New Issue
Block a user