mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
rdb$system_flag is not nullable in FB3.
This commit is contained in:
parent
746d47f4f2
commit
ce1233b10c
@ -91,7 +91,7 @@ namespace
|
|||||||
FOR(REQUEST_HANDLE handle TRANSACTION_HANDLE transaction)
|
FOR(REQUEST_HANDLE handle TRANSACTION_HANDLE transaction)
|
||||||
R IN RDB$RELATIONS WITH
|
R IN RDB$RELATIONS WITH
|
||||||
R.RDB$RELATION_NAME EQ relName AND
|
R.RDB$RELATION_NAME EQ relName AND
|
||||||
R.RDB$SYSTEM_FLAG EQUIV 1
|
R.RDB$SYSTEM_FLAG EQ 1
|
||||||
{
|
{
|
||||||
rc = true;
|
rc = true;
|
||||||
}
|
}
|
||||||
@ -108,7 +108,7 @@ namespace
|
|||||||
FOR(REQUEST_HANDLE handle TRANSACTION_HANDLE transaction)
|
FOR(REQUEST_HANDLE handle TRANSACTION_HANDLE transaction)
|
||||||
R IN RDB$FIELDS WITH
|
R IN RDB$FIELDS WITH
|
||||||
R.RDB$FIELD_NAME EQ fldName AND
|
R.RDB$FIELD_NAME EQ fldName AND
|
||||||
R.RDB$SYSTEM_FLAG EQUIV 1
|
R.RDB$SYSTEM_FLAG EQ 1
|
||||||
{
|
{
|
||||||
rc = true;
|
rc = true;
|
||||||
}
|
}
|
||||||
|
@ -1035,7 +1035,6 @@ bool SCL_admin_role(thread_db* tdbb, const TEXT* sql_role)
|
|||||||
|
|
||||||
FOR(REQUEST_HANDLE request) R IN RDB$ROLES
|
FOR(REQUEST_HANDLE request) R IN RDB$ROLES
|
||||||
WITH R.RDB$ROLE_NAME EQ sql_role
|
WITH R.RDB$ROLE_NAME EQ sql_role
|
||||||
AND R.RDB$SYSTEM_FLAG NOT MISSING
|
|
||||||
AND R.RDB$SYSTEM_FLAG != 0
|
AND R.RDB$SYSTEM_FLAG != 0
|
||||||
{
|
{
|
||||||
adminRole = true;
|
adminRole = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user