mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
777b5bc15b
... IStorage has deleted copy ctor / assignment already
23 lines
616 B
C++
23 lines
616 B
C++
#pragma once
|
|
|
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
class Context;
|
|
|
|
/// Implements `current_roles` system table, which allows you to get information about current roles.
|
|
class StorageSystemCurrentRoles final : public IStorageSystemOneBlock<StorageSystemCurrentRoles>
|
|
{
|
|
public:
|
|
std::string getName() const override { return "SystemCurrentRoles"; }
|
|
static NamesAndTypesList getNamesAndTypes();
|
|
|
|
protected:
|
|
using IStorageSystemOneBlock::IStorageSystemOneBlock;
|
|
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const override;
|
|
};
|
|
|
|
}
|