Skip to content

Commit

Permalink
Merge pull request #354 from arvanus/master
Browse files Browse the repository at this point in the history
Fix comment on parameter in DDL
  • Loading branch information
arvanus authored Nov 17, 2023
2 parents 6e5e5fb + 13dddbf commit 66b0385
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/metadata/CreateDDLVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ wxString CreateDDLVisitor::getCommentOn(MetadataItem& object)
comment << "COLUMN ";
break;
};
case ntParameter:
{
Parameter p = dynamic_cast<Parameter&>(object);
wxString tabname(p.getParent()->getQuotedName());
name = tabname << "." << name;
comment << "PARAMETER ";
break;
};
case ntUDF:
comment << "EXTERNAL FUNCTION ";
break;
Expand Down

0 comments on commit 66b0385

Please sign in to comment.