mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Fixed CORE-4453 - Regression: NOT NULL constraint, declared in domain, does not work.
This commit is contained in:
parent
0911475088
commit
1277bf593b
@ -5567,7 +5567,9 @@ void RelationNode::defineField(thread_db* tdbb, DsqlCompilerScratch* dsqlScratch
|
|||||||
FieldDefinition fieldDefinition(*tdbb->getDefaultPool());
|
FieldDefinition fieldDefinition(*tdbb->getDefaultPool());
|
||||||
fieldDefinition.relationName = name;
|
fieldDefinition.relationName = name;
|
||||||
fieldDefinition.name = field->fld_name;
|
fieldDefinition.name = field->fld_name;
|
||||||
fieldDefinition.notNullFlag = notNullFlag;
|
|
||||||
|
if (notNullFlag)
|
||||||
|
fieldDefinition.notNullFlag = true; // else, make it not specified
|
||||||
|
|
||||||
if (position >= 0)
|
if (position >= 0)
|
||||||
fieldDefinition.position = position;
|
fieldDefinition.position = position;
|
||||||
|
Loading…
Reference in New Issue
Block a user