From 13dddbf7be3e0b343faf55e8f477fa59cc04c06f Mon Sep 17 00:00:00 2001 From: Lucas Rubian Schatz Date: Thu, 16 Nov 2023 22:41:27 -0300 Subject: [PATCH] Fix comment on parameter in DDL closes #353 --- src/metadata/CreateDDLVisitor.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/metadata/CreateDDLVisitor.cpp b/src/metadata/CreateDDLVisitor.cpp index 9e84c534..5475aa04 100644 --- a/src/metadata/CreateDDLVisitor.cpp +++ b/src/metadata/CreateDDLVisitor.cpp @@ -74,6 +74,14 @@ wxString CreateDDLVisitor::getCommentOn(MetadataItem& object) comment << "COLUMN "; break; }; + case ntParameter: + { + Parameter p = dynamic_cast(object); + wxString tabname(p.getParent()->getQuotedName()); + name = tabname << "." << name; + comment << "PARAMETER "; + break; + }; case ntUDF: comment << "EXTERNAL FUNCTION "; break;