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

Restored ODS compatibility after new fields were added to RDB$ROLES.

This commit is contained in:
dimitr 2004-08-28 08:20:43 +00:00
parent 8064c37ca4
commit 4dfeca45b6

View File

@ -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])