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:
parent
23fd3dc184
commit
0a3c2e65dc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user