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

Fixed CORE-1715 - Incorrect "key size exceeds implementation restriction for index" error

This commit is contained in:
asfernandes 2008-01-30 13:27:52 +00:00
parent 6e275113cc
commit 53ac9b7616

View File

@ -656,7 +656,7 @@ static void unicodeDestroy(texttype* tt)
static USHORT unicodeKeyLength(texttype* tt, USHORT len)
{
return tt->texttype_impl->collation->keyLength(
len / tt->texttype_impl->cs->charset_min_bytes_per_char * 4);
len / tt->texttype_impl->cs->charset_max_bytes_per_char * 4);
}