mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:03:02 +01:00
Do not let SYSDBA modify structure of system tables
This commit is contained in:
parent
512f0d944e
commit
1a9830ebd6
@ -778,7 +778,7 @@ void SCL_check_relation(thread_db* tdbb, const dsc* dsc_name, SecurityClass::fla
|
||||
FOR(REQUEST_HANDLE request) REL IN RDB$RELATIONS
|
||||
WITH REL.RDB$RELATION_NAME EQ name.c_str()
|
||||
{
|
||||
if (REL.RDB$SYSTEM_FLAG == 1 && !attachment->locksmith())
|
||||
if (REL.RDB$SYSTEM_FLAG == 1 && !attachment->isRWGbak())
|
||||
{
|
||||
// Someone is going to modify system table layout
|
||||
// Usually it's not good idea
|
||||
|
Loading…
Reference in New Issue
Block a user