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

Fixed CORE-3732: Segfault when closing attachment to database

This commit is contained in:
alexpeshkoff 2012-01-16 16:38:18 +00:00
parent dac0827e52
commit 30d75a117e

View File

@ -2134,8 +2134,8 @@ static void revoke_all(Global* gbl, const UCHAR** ptr)
PRIV.RDB$USER = user.c_str() AND PRIV.RDB$USER = user.c_str() AND
PRIV.RDB$USER_TYPE = user_type PRIV.RDB$USER_TYPE = user_type
if (!DYN_REQUEST(drq_e_grant1)) if (!DYN_REQUEST(drq_e_grant3))
DYN_REQUEST(drq_e_grant1) = request; DYN_REQUEST(drq_e_grant3) = request;
if (revoking_user->locksmith() || revoking_as_user_name == PRIV.RDB$GRANTOR) if (revoking_user->locksmith() || revoking_as_user_name == PRIV.RDB$GRANTOR)
{ {