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

Postfix for CORE-6093, thanks to Andrey Kravchenko

This commit is contained in:
Alex Peshkoff 2019-07-09 22:37:45 +03:00
parent 23fd3dc184
commit 0a3c2e65dc

View File

@ -786,7 +786,7 @@ static unsigned int KEY_MASK = 0xFFFF;
static inline void checkKey(unsigned int& key)
{
if (key & PARTIAL_MASK != getPartialVersion())
if ((key & PARTIAL_MASK) != getPartialVersion())
key = KEY_MASK;
else
key &= KEY_MASK;