Skip to content

Commit

Permalink
Postfix for CORE-6160.
Browse files Browse the repository at this point in the history
  • Loading branch information
asfernandes committed Oct 18, 2019
1 parent 83a3c33 commit 327c642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jrd/DataTypeUtil.cpp
Expand Up @@ -305,7 +305,7 @@ void DataTypeUtilBase::makeSubstr(dsc* result, const dsc* value, const dsc* offs
result->dsc_dtype = dtype_varying;
}

result->setTextType(value->isText() ? value->getTextType() : CS_ASCII);
result->setTextType(value->isText() || value->isBlob() ? value->getTextType() : CS_ASCII);
result->setNullable(value->isNullable() ||
(offset && offset->isNullable()) ||
(length && length->isNullable()));
Expand Down

0 comments on commit 327c642

Please sign in to comment.