Skip to content
Snippets Groups Projects
Commit fe59dca0 authored by Tobias Schmidt's avatar Tobias Schmidt
Browse files

TableClass: extending table works properly with non-matching column names

parent 22544777
Branches
Tags
No related merge requests found
......@@ -1758,6 +1758,7 @@ class Table(object):
# check that column types are the same in current and new table
for name in self.col_names:
if name in tab.col_names:
curr_type = self.col_types[self.GetColIndex(name)]
new_type = tab.col_types[tab.GetColIndex(name)]
if curr_type!=new_type:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment