0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-14 08:44:18 +01:00

ircd:Ⓜ️ Fallback to default opts prefetch for properties without columns.

This commit is contained in:
Jason Volk 2019-09-17 10:29:45 -07:00
parent 54ba30d3d1
commit b6b630c3d1

View file

@ -836,6 +836,9 @@ ircd::m::prefetch(const event::idx &event_idx,
json::indexof<event>(key)
};
if(column_idx >= dbs::event_column.size())
return prefetch(event_idx, event::fetch::default_opts);
auto &column
{
dbs::event_column.at(column_idx)