- UDA definitions that have the same name as a core attribute are not
  permitted.
This commit is contained in:
Paul Beckingham
2012-07-05 00:11:54 -04:00
parent d8b0b0f594
commit 5fcc33f1f8
2 changed files with 4 additions and 0 deletions

View File

@@ -173,6 +173,9 @@ void Column::uda (std::map <std::string, Column*>& all)
std::map <std::string, int>::iterator uda;
for (uda = udas.begin (); uda != udas.end (); ++uda)
{
if (all.find (uda->first) != all.end ())
throw format (STRING_UDA_COLLISION, uda->first);
Column* c = Column::uda (uda->first);
all[c->_name] = c;
}