mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
29 lines
693 B
C++
29 lines
693 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
class Context;
|
||
|
|
||
|
|
||
|
/** Implements system table "settings_changes", which allows to get information
|
||
|
* about the settings changes through different ClickHouse versions.
|
||
|
*/
|
||
|
class StorageSystemSettingsChanges final : public IStorageSystemOneBlock<StorageSystemSettingsChanges>
|
||
|
{
|
||
|
public:
|
||
|
std::string getName() const override { return "SystemSettingsChanges"; }
|
||
|
|
||
|
static NamesAndTypesList getNamesAndTypes();
|
||
|
|
||
|
protected:
|
||
|
using IStorageSystemOneBlock::IStorageSystemOneBlock;
|
||
|
|
||
|
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
|
||
|
};
|
||
|
|
||
|
}
|