8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 23:23:02 +01:00

Corrections

This commit is contained in:
asfernandes 2010-08-03 01:09:39 +00:00
parent 88047fb610
commit 9e05b7f43b
2 changed files with 4 additions and 4 deletions

View File

@ -4630,7 +4630,7 @@ void RelationNode::FieldDefinition::modify(thread_db* tdbb, jrd_tra* transaction
fieldPos = position.value;
else
{
DYN_UTIL_generate_field_position(tdbb, NULL, name, &fieldPos);
DYN_UTIL_generate_field_position(tdbb, NULL, relationName, &fieldPos);
if (fieldPos >= 0)
++fieldPos;
}
@ -4728,7 +4728,7 @@ void RelationNode::FieldDefinition::store(thread_db* tdbb, jrd_tra* transaction)
fieldPos = position.value;
else
{
DYN_UTIL_generate_field_position(tdbb, NULL, name, &fieldPos);
DYN_UTIL_generate_field_position(tdbb, NULL, relationName, &fieldPos);
if (fieldPos >= 0)
++fieldPos;
}

View File

@ -978,8 +978,8 @@ public:
descending(false),
refRelation(p),
refColumns(p),
refUpdateAction(RI_ACTION_NONE),
refDeleteAction(RI_ACTION_NONE),
refUpdateAction(RI_RESTRICT),
refDeleteAction(RI_RESTRICT),
triggers(p),
blrWritersHolder(p)
{