mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:43:02 +01:00
Fix the remaining part of #4085: RDB information stored inconsistently after a CREATE INDEX
This commit is contained in:
parent
b4b7a4dd99
commit
23fa6d479a
@ -6746,6 +6746,7 @@ void RelationNode::defineConstraint(thread_db* tdbb, DsqlCompilerScratch* dsqlSc
|
||||
definition.unique = constraint.type != Constraint::TYPE_FK;
|
||||
if (constraint.index->descending)
|
||||
definition.descending = true;
|
||||
definition.inactive = false;
|
||||
definition.columns = constraint.columns;
|
||||
definition.refRelation = constraint.refRelation;
|
||||
definition.refColumns = constraint.refColumns;
|
||||
@ -9830,6 +9831,7 @@ void CreateIndexNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsqlScratch,
|
||||
definition.relation = relation->dsqlName;
|
||||
definition.unique = unique;
|
||||
definition.descending = descending;
|
||||
definition.inactive = false;
|
||||
|
||||
if (columns)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user