0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-01 00:08:22 +02:00

ircd:Ⓜ️:dbs: Put event_horizon resolver key buffer on stack.

This commit is contained in:
Jason Volk 2019-05-23 21:43:30 -07:00
parent ffda6a0848
commit e8a9a52973

View file

@ -904,7 +904,7 @@ ircd::m::dbs::_index_event_horizon_resolve(db::txn &txn,
const event &event,
const write_opts &opts)
{
thread_local char buf[EVENT_HORIZON_KEY_MAX_SIZE];
char buf[EVENT_HORIZON_KEY_MAX_SIZE];
assert(opts.appendix.test(appendix::EVENT_HORIZON_RESOLVE));
assert(opts.event_idx != 0);
const string_view &key