dbms: development [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2011-08-19 19:19:13 +00:00
parent ba52b98e0a
commit 0f1655f42c

View File

@ -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);
} }