mongodb/Database
Scott R. Parish 9bc616ccf5 finish: only close cursor if cursor-id is non-zero
A '0' cursor-id means that no cursor was created, so there's nothing
to kill.

Also, findOne should never have a cursor opened for it, so no need
to even call finish.
2010-02-01 09:04:47 -06:00
..
MongoDB make changes suggested by HLint 2010-01-24 20:58:49 -06:00
MongoDB.hs finish: only close cursor if cursor-id is non-zero 2010-02-01 09:04:47 -06:00