mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::db::txn: Fix has() queries.
This commit is contained in:
parent
fde100bb93
commit
8bc371d7fb
1 changed files with 5 additions and 5 deletions
10
ircd/db.cc
10
ircd/db.cc
|
@ -4818,8 +4818,8 @@ const
|
|||
return !for_each(*this, delta_closure_bool{[&op, &col]
|
||||
(const auto &delta)
|
||||
{
|
||||
return std::get<delta::OP>(delta) == op &&
|
||||
std::get<delta::COL>(delta) == col;
|
||||
return std::get<delta::OP>(delta) != op &&
|
||||
std::get<delta::COL>(delta) != col;
|
||||
}});
|
||||
}
|
||||
|
||||
|
@ -4866,9 +4866,9 @@ const
|
|||
return !for_each(*this, delta_closure_bool{[&op, &col, &key]
|
||||
(const auto &delta)
|
||||
{
|
||||
return std::get<delta::OP>(delta) == op &&
|
||||
std::get<delta::COL>(delta) == col &&
|
||||
std::get<delta::KEY>(delta) == key;
|
||||
return std::get<delta::OP>(delta) != op &&
|
||||
std::get<delta::COL>(delta) != col &&
|
||||
std::get<delta::KEY>(delta) != key;
|
||||
}});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue