solve crashes when using read-only cursor

This commit is contained in:
bert hubert 2019-01-13 21:35:02 +01:00
parent 99b4caf61c
commit 9c5bb43cb5
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ public:
}
MDBROCursor(MDBROCursor&& rhs) : MDBGenCursor<MDBROTransaction>(rhs.d_parent)
{
d_cursor = rhs.d_cursor;
rhs.d_cursor=0;
}