solve crashes when using read-only cursor
This commit is contained in:
parent
99b4caf61c
commit
9c5bb43cb5
|
@ -388,6 +388,7 @@ public:
|
||||||
}
|
}
|
||||||
MDBROCursor(MDBROCursor&& rhs) : MDBGenCursor<MDBROTransaction>(rhs.d_parent)
|
MDBROCursor(MDBROCursor&& rhs) : MDBGenCursor<MDBROTransaction>(rhs.d_parent)
|
||||||
{
|
{
|
||||||
|
d_cursor = rhs.d_cursor;
|
||||||
rhs.d_cursor=0;
|
rhs.d_cursor=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue