mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
22 lines
455 B
C++
22 lines
455 B
C++
#pragma once
|
|
|
|
#include <Access/SettingsConstraints.h>
|
|
#include <Core/UUID.h>
|
|
#include <vector>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Information about currently applied constraints and profiles.
|
|
struct SettingsConstraintsAndProfileIDs
|
|
{
|
|
SettingsConstraints constraints;
|
|
std::vector<UUID> current_profiles;
|
|
std::vector<UUID> enabled_profiles;
|
|
|
|
SettingsConstraintsAndProfileIDs(const AccessControl & access_control_) : constraints(access_control_) {}
|
|
};
|
|
|
|
}
|