mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
777b5bc15b
... IStorage has deleted copy ctor / assignment already
27 lines
630 B
C++
27 lines
630 B
C++
#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;
|
|
};
|
|
}
|