0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-02-18 17:50:16 +01:00

ircd::db: Workaround issue querying the filtration after db reopen.

This commit is contained in:
Jason Volk 2018-04-08 21:57:02 -07:00
parent 37a126915b
commit 23b1a7e032

View file

@ -3806,11 +3806,10 @@ ircd::db::has(column &column,
#endif
// Perform a co-RP query to the filtration
static thread_local std::string discard;
bool value{false};
thread_local std::string discard;
const bool may_exist
{
d.d->KeyMayExist(opts, c, k, &discard, &value)
d.d->KeyMayExist(opts, c, k, &discard, nullptr)
};
if(!may_exist)