What I tried here was to transfer data between databases in chunks.
During second iteration ups_cursor_find won't return.
With transactions disabled this issue doesn't occur.
_Remark:
In app where I'm using upscaledb this function may also returned UPS_KEY_NOT_FOUND on non-empty database where key to look for is the lowest possible value from key-values range. (Ex.: 0 in range <0; 6555000>).
In some cases ups_cursor_find would also not return depending on how many items was stored in db.
Please check the following sample:
What I tried here was to transfer data between databases in chunks. During second iteration ups_cursor_find won't return. With transactions disabled this issue doesn't occur.
_Remark: In app where I'm using upscaledb this function may also returned UPS_KEY_NOT_FOUND on non-empty database where key to look for is the lowest possible value from key-values range. (Ex.: 0 in range <0; 6555000>). In some cases ups_cursor_find would also not return depending on how many items was stored in db.