gerald-lindsly / rmongodb

R driver for MongoDB
http://cnub.org/rmongodb.ashx
Apache License 2.0
83 stars 44 forks source link

Can not destroy a mongo cursor #19

Open bdiegel opened 10 years ago

bdiegel commented 10 years ago

The function to destroy a cursor always seems to return FALSE. I've checked my server log for error messages but do not see any.

mongo.cursor.destroy(mycursor) [1] FALSE

It doesn't seem to matter whether we have fully or partially iterated through the results.

mycursor [1] 0 attr(,"mongo.cursor") <pointer: 0x0> attr(,"class") [1] "mongo.cursor"