mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:43:02 +01:00
Fix #7124 - Inconsistent RDB$USER_PRIVILEGES after dropping identity.
This commit is contained in:
parent
03398f85fa
commit
988e7c2025
@ -5975,8 +5975,13 @@ void DropSequenceNode::deleteIdentity(thread_db* tdbb, jrd_tra* transaction, con
|
|||||||
WITH GEN.RDB$GENERATOR_NAME EQ name.c_str()
|
WITH GEN.RDB$GENERATOR_NAME EQ name.c_str()
|
||||||
{
|
{
|
||||||
ERASE GEN;
|
ERASE GEN;
|
||||||
|
|
||||||
|
if (!GEN.RDB$SECURITY_CLASS.NULL)
|
||||||
|
deleteSecurityClass(tdbb, transaction, GEN.RDB$SECURITY_CLASS);
|
||||||
}
|
}
|
||||||
END_FOR
|
END_FOR
|
||||||
|
|
||||||
|
deletePrivilegesByRelName(tdbb, transaction, name, obj_generator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user