From 53ac9b7616c024758f86a09c2cf582dacb4902cd Mon Sep 17 00:00:00 2001 From: asfernandes Date: Wed, 30 Jan 2008 13:27:52 +0000 Subject: [PATCH] Fixed CORE-1715 - Incorrect "key size exceeds implementation restriction for index" error --- src/jrd/IntlUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/IntlUtil.cpp b/src/jrd/IntlUtil.cpp index 3b2da26e7b..16e2563e1c 100644 --- a/src/jrd/IntlUtil.cpp +++ b/src/jrd/IntlUtil.cpp @@ -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); }