mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
dbms: development [#CONV-2944].
This commit is contained in:
parent
ba52b98e0a
commit
0f1655f42c
@ -97,13 +97,11 @@ int main(int argc, char ** argv)
|
|||||||
;
|
;
|
||||||
|
|
||||||
SharedPtr<DB::NamesAndTypes> names_and_types_map = new DB::NamesAndTypes;
|
SharedPtr<DB::NamesAndTypes> names_and_types_map = new DB::NamesAndTypes;
|
||||||
SharedPtr<DB::DataTypes> data_types = new DB::DataTypes;
|
|
||||||
DB::Names column_names;
|
DB::Names column_names;
|
||||||
|
|
||||||
for (NamesAndTypesList::const_iterator it = names_and_types_list.begin(); it != names_and_types_list.end(); ++it)
|
for (NamesAndTypesList::const_iterator it = names_and_types_list.begin(); it != names_and_types_list.end(); ++it)
|
||||||
{
|
{
|
||||||
names_and_types_map->insert(*it);
|
names_and_types_map->insert(*it);
|
||||||
data_types->push_back(it->second);
|
|
||||||
column_names.push_back(it->first);
|
column_names.push_back(it->first);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user