Skip to content

Commit 1767a51

Browse files
committed
Postfix for CORE-5194.
1 parent e2ca943 commit 1767a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dsql/DdlNodes.epp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ void defineComputed(DsqlCompilerScratch* dsqlScratch, RelationSourceNode* relati
390390
field->subType = desc.dsc_sub_type;
391391
}
392392

393-
if (field->precision == 0 && field->scale != 0)
393+
if (field && field->precision == 0 && field->scale != 0)
394394
{
395395
switch (field->dtype)
396396
{

0 commit comments

Comments
 (0)