comtihon / mongodb-erlang

MongoDB driver for Erlang
Apache License 2.0
341 stars 267 forks source link

cursor bug fix #251

Closed Larrouse2015 closed 2 years ago

Larrouse2015 commented 2 years ago

add database to opGetmore, otherwise there maybe is err when use cursor that using Multiple database

Larrouse2015 commented 2 years ago

{'$err' =>

  <<"Requested getMore on namespace db1.m_role, but cursor 1634729573853515777 belongs to namespace db2.m_role">>,

code => 13}

this is the error before i fix this bug

comtihon commented 2 years ago

Thank you for the contribution!