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:
parent
37a126915b
commit
23b1a7e032
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue