Skip to content

Commit

Permalink
Fixed #7950: Unable to restore database when .fbk was created on host…
Browse files Browse the repository at this point in the history
… with other ICU
  • Loading branch information
AlexPeshkoff committed Jan 15, 2024
1 parent 3c0ad0f commit 33dc487
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/jrd/dfw.epp
Original file line number Diff line number Diff line change
Expand Up @@ -4121,6 +4121,11 @@ static bool create_collation(thread_db* tdbb, SSHORT phase, DeferredWork* work,
case 1:
setupSpecificCollationAttributes(tdbb, transaction, TTYPE_TO_CHARSET(work->dfw_id),
work->dfw_name.c_str(), false);
if (!INTL_defined_type(tdbb, work->dfw_id))
{
setupSpecificCollationAttributes(tdbb, transaction, TTYPE_TO_CHARSET(work->dfw_id),
work->dfw_name.c_str(), true);
}
break;
}

Expand Down

0 comments on commit 33dc487

Please sign in to comment.