1 | #pragma once |
---|---|
2 | |
3 | #include <Core/Field.h> |
4 | |
5 | |
6 | namespace DB |
7 | { |
8 | |
9 | struct SettingChange |
10 | { |
11 | String name; |
12 | Field value; |
13 | |
14 | friend bool operator ==(const SettingChange & lhs, const SettingChange & rhs) { return (lhs.name == rhs.name) && (lhs.value == rhs.value); } |
15 | friend bool operator !=(const SettingChange & lhs, const SettingChange & rhs) { return !(lhs == rhs); } |
16 | }; |
17 | |
18 | using SettingsChanges = std::vector<SettingChange>; |
19 | |
20 | } |
21 |