mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 22:41:12 +01:00
ircd:;db: Disambiguate KeyMaxExist() overload for rocksdb 6.10.0.
This commit is contained in:
parent
efdd49ed3a
commit
2c7f81d1e1
1 changed files with 2 additions and 1 deletions
|
@ -6558,7 +6558,8 @@ ircd::db::has(column &column,
|
|||
auto opts(make_opts(gopts));
|
||||
opts.read_tier = NON_BLOCKING;
|
||||
thread_local std::string discard;
|
||||
if(!d.d->KeyMayExist(opts, c, k, &discard, nullptr))
|
||||
bool value_found;
|
||||
if(!d.d->KeyMayExist(opts, c, k, &discard, &value_found))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue