Skip to content

Commit

Permalink
Postfix for #7176.
Browse files Browse the repository at this point in the history
  • Loading branch information
asfernandes committed May 5, 2022
1 parent a8f26b3 commit 00a0992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsql/pass1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2803,7 +2803,7 @@ static void pass1_union_auto_cast(DsqlCompilerScratch* dsqlScratch, ExprNode* in
field->length = desc.dsc_length;
field->flags = (desc.dsc_flags & DSC_nullable) ? FLD_nullable : 0;

if (desc.isText() | desc.isBlob())
if (desc.isText() || desc.isBlob())
{
field->textType = desc.getTextType();
field->charSetId = desc.getCharSet();
Expand Down

0 comments on commit 00a0992

Please sign in to comment.