0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 00:14:07 +01:00

ircd:;db: Disambiguate KeyMaxExist() overload for rocksdb 6.10.0.

This commit is contained in:
Jason Volk 2020-05-07 17:05:12 -07:00
parent efdd49ed3a
commit 2c7f81d1e1

View file

@ -6558,7 +6558,8 @@ ircd::db::has(column &column,
auto opts(make_opts(gopts)); auto opts(make_opts(gopts));
opts.read_tier = NON_BLOCKING; opts.read_tier = NON_BLOCKING;
thread_local std::string discard; 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; return false;
} }