finding block of specific timestamp or first block after the timestamp
This commit is contained in:
parent
fe93681baf
commit
438c0627fa
|
@ -451,7 +451,7 @@ namespace xmreg
|
|||
|
||||
|
||||
// set cursor the the first item
|
||||
if (cr.get(key_to_find, info_val, MDB_SET))
|
||||
if (cr.get(key_to_find, info_val, MDB_SET_RANGE))
|
||||
{
|
||||
out_infos.push_back(*(info_val.data<output_info>()));
|
||||
|
||||
|
|
Loading…
Reference in New Issue