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

ircd::db: Use the proper cache query here.

This commit is contained in:
Jason Volk 2019-01-11 17:40:27 -08:00
parent 47bda85f3f
commit fe15e0d6a6

View file

@ -7272,8 +7272,8 @@ console_cmd__room__state__cache(opt &out, const string_view &line)
const byte_view<string_view> &key(event_idx);
for(size_t i(0); i < m::dbs::event_column.size(); ++i)
{
const auto &column(m::dbs::event_column[i]);
res[i] += db::exists(db::cache(column), key);
auto &column(m::dbs::event_column[i]);
res[i] += db::cached(column, key);
}
++total;