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

Removed wrong assertion

This commit is contained in:
AlexPeshkoff 2024-03-06 14:14:42 +03:00
parent b68698e023
commit 96ef319bc9

View File

@ -2800,7 +2800,6 @@ static void compress(thread_db* tdbb,
size_t multiKeyLength;
UCHAR* ptr;
UCHAR* p = key->key_data;
fb_assert(matchScale == 0 || desc->dsc_scale == 0 || matchScale == desc->dsc_scale);
SSHORT scale = matchScale ? matchScale : desc->dsc_scale;
if (itype == idx_string || itype == idx_byte_array || itype == idx_metadata ||