mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 21:23:03 +01:00
Removed one of the Nickolay's protections in order to be able to restore databases containing views with check option.
This commit is contained in:
parent
2b623fd73b
commit
ef5ef3d14e
@ -1126,8 +1126,14 @@ static jrd_nod* par_field(thread_db* tdbb, CompilerScratch* csb, SSHORT blr_oper
|
||||
|
||||
const SSHORT context = (unsigned int) BLR_BYTE;
|
||||
|
||||
if (context >= csb->csb_rpt.getCount() ||
|
||||
if (context >= csb->csb_rpt.getCount())/* ||
|
||||
!(csb->csb_rpt[context].csb_flags & csb_used) )
|
||||
|
||||
dimitr: commented out to support system triggers implementing
|
||||
WITH CHECK OPTION. They reference the relation stream (#2)
|
||||
directly, without a DSQL context. It breaks the layering,
|
||||
but we must support legacy BLR.
|
||||
*/
|
||||
{
|
||||
error(csb, isc_ctxnotdef, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user