mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:43:03 +01:00
Restored ODS compatibility after new fields were added to RDB$ROLES.
This commit is contained in:
parent
8064c37ca4
commit
4dfeca45b6
@ -700,6 +700,24 @@ void INI_init2(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((fld[RFLD_F_NAME] == nam_description ||
|
||||
fld[RFLD_F_NAME] == nam_sys_flag) &&
|
||||
relfld[RFLD_R_NAME] == nam_roles)
|
||||
{
|
||||
if (major_version >= ODS_VERSION11)
|
||||
{
|
||||
if (!fld[RFLD_F_MINOR])
|
||||
{
|
||||
n++;
|
||||
if (fld[RFLD_F_UPD_MINOR])
|
||||
relation->rel_flags |= REL_force_scan;
|
||||
}
|
||||
else
|
||||
{
|
||||
relation->rel_flags |= REL_force_scan;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!fld[RFLD_F_MINOR])
|
||||
|
Loading…
Reference in New Issue
Block a user