1#include "StorageSystemBuildOptions.h"
2
3#include <DataTypes/DataTypeString.h>
4#include <Core/Settings.h>
5
6extern const char * auto_config_build[];
7
8namespace DB
9{
10
11NamesAndTypesList StorageSystemBuildOptions::getNamesAndTypes()
12{
13 return {
14 {"name", std::make_shared<DataTypeString>()},
15 {"value", std::make_shared<DataTypeString>()},
16 };
17}
18
19void StorageSystemBuildOptions::fillData(MutableColumns & res_columns, const Context &, const SelectQueryInfo &) const
20{
21 for (auto it = auto_config_build; *it; it += 2)
22 {
23 res_columns[0]->insert(it[0]);
24 res_columns[1]->insert(it[1]);
25 }
26}
27
28}
29