Skip to content

Commit

Permalink
Postfix for CORE-6250 - Signature mismatch when creating package body…
Browse files Browse the repository at this point in the history
… on identical packaged procedure header.
  • Loading branch information
asfernandes committed Feb 21, 2020
1 parent b28882e commit 1f13d17
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/dsql/PackageNodes.epp
Expand Up @@ -122,18 +122,26 @@ namespace

bool operator ==(const ParameterInfo& o) const
{
return type == o.type && number == o.number && name == o.name &&
return type == o.type &&
number == o.number &&
name == o.name &&
(fieldSource == o.fieldSource ||
(fb_utils::implicit_domain(fieldSource.c_str()) &&
fb_utils::implicit_domain(o.fieldSource.c_str()))) &&
fieldName == o.fieldName && relationName == o.relationName &&
fieldName == o.fieldName &&
relationName == o.relationName &&
collationId == o.collationId &&
nullFlag.orElse(FALSE) == o.nullFlag.orElse(FALSE) &&
mechanism == o.mechanism && fieldLength == o.fieldLength &&
fieldScale == o.fieldScale && fieldType == o.fieldType &&
fieldSubType == o.fieldSubType && fieldSegmentLength == o.fieldSegmentLength &&
fieldNullFlag == o.fieldNullFlag && fieldCharLength == o.fieldCharLength &&
fieldCollationId == o.fieldCollationId && fieldCharSetId == o.fieldCharSetId &&
mechanism == o.mechanism &&
fieldLength == o.fieldLength &&
fieldScale == o.fieldScale &&
fieldType == o.fieldType &&
fieldSubType.orElse(0) == o.fieldSubType.orElse(0) &&
fieldSegmentLength == o.fieldSegmentLength &&
fieldNullFlag.orElse(FALSE) == o.fieldNullFlag.orElse(FALSE) &&
fieldCharLength == o.fieldCharLength &&
fieldCollationId.orElse(0) == o.fieldCollationId.orElse(0) &&
fieldCharSetId == o.fieldCharSetId &&
fieldPrecision == o.fieldPrecision;
}

Expand Down

0 comments on commit 1f13d17

Please sign in to comment.