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

Fixed mistype - thanks to Vlad

This commit is contained in:
AlexPeshkoff 2017-02-27 15:45:33 +03:00
parent 386c5030d2
commit ccfb567bc8

View File

@ -1373,11 +1373,11 @@ USHORT BTR_key_length(thread_db* tdbb, jrd_rel* relation, index_desc* idx)
length = sizeof(UCHAR);
break;
case dtype_dec64:
case idx_dec64:
length = Decimal64::getIndexKeyLength();
break;
case dtype_dec128:
case idx_dec128:
length = Decimal128::getIndexKeyLength();
break;
@ -1433,10 +1433,10 @@ USHORT BTR_key_length(thread_db* tdbb, jrd_rel* relation, index_desc* idx)
case idx_boolean:
length = sizeof(UCHAR);
break;
case dtype_dec64:
case idx_dec64:
length = Decimal64::getIndexKeyLength();
break;
case dtype_dec128:
case idx_dec128:
length = Decimal128::getIndexKeyLength();
break;
default: