Skip to content

Commit

Permalink
Postfix for CORE-5194.
Browse files Browse the repository at this point in the history
  • Loading branch information
dyemanov committed Apr 14, 2016
1 parent e2ca943 commit 1767a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsql/DdlNodes.epp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ void defineComputed(DsqlCompilerScratch* dsqlScratch, RelationSourceNode* relati
field->subType = desc.dsc_sub_type;
}

if (field->precision == 0 && field->scale != 0)
if (field && field->precision == 0 && field->scale != 0)
{
switch (field->dtype)
{
Expand Down

0 comments on commit 1767a51

Please sign in to comment.