diff --git a/src/dsql/ExprNodes.cpp b/src/dsql/ExprNodes.cpp index ad42644930..76149a5411 100644 --- a/src/dsql/ExprNodes.cpp +++ b/src/dsql/ExprNodes.cpp @@ -12331,7 +12331,7 @@ DmlNode* SysFuncCallNode::parse(thread_db* tdbb, MemoryPool& pool, CompilerScrat if (literal && literal->litDesc.isText()) { MetaName relName; - CVT2_make_metaname(&literal->litDesc, name, tdbb->getAttachment()->att_dec_status); + CVT2_make_metaname(&literal->litDesc, relName, tdbb->getAttachment()->att_dec_status); const jrd_rel* const relation = MET_lookup_relation(tdbb, relName);