blob: 3f403f5f1f90efeaef8404f69aa83f4aeaa02484 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#include <Storages/System/IStorageSystemOneBlock.h>
namespace DB
{
class Context;
/** Implements system.warnings table that contains warnings about server configuration
* to be displayed in clickhouse-client.
*/
class StorageSystemWarnings final : public IStorageSystemOneBlock<StorageSystemWarnings>
{
public:
std::string getName() const override { return "SystemWarnings"; }
static NamesAndTypesList getNamesAndTypes();
protected:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr, const SelectQueryInfo &) const override;
};
}
|