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