mirror of
https://github.com/matrix-construct/construct
synced 2024-11-30 02:32:43 +01:00
ircd::db: Disable stats instance for unused default column.
This commit is contained in:
parent
3ec1ce6773
commit
c8e11b7ffc
1 changed files with 3 additions and 1 deletions
|
@ -1999,7 +1999,9 @@ ircd::db::database::column::column(database &d,
|
||||||
,cfilter{this, this->descriptor->compactor}
|
,cfilter{this, this->descriptor->compactor}
|
||||||
,stats
|
,stats
|
||||||
{
|
{
|
||||||
std::make_shared<struct database::stats>(this->d, this)
|
descriptor.name != "default"s?
|
||||||
|
std::make_shared<struct database::stats>(this->d, this):
|
||||||
|
std::shared_ptr<struct database::stats>{},
|
||||||
}
|
}
|
||||||
,allocator
|
,allocator
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue