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