MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / check_rel_field_class

Function check_rel_field_class

src/jrd/vio.cpp:4723–4744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4721
4722
4723static void check_rel_field_class(thread_db* tdbb,
4724 record_param* rpb,
4725 jrd_tra* transaction)
4726{
4727/*********************************************
4728 *
4729 * c h e c k _ r e l _ f i e l d _ c l a s s
4730 *
4731 *********************************************
4732 *
4733 * Functional description
4734 * Given rpb for a record in the nam_r_fields system relation,
4735 * containing a security class, check that record itself or
4736 * relation, whom it belongs, are OK for given flags.
4737 *
4738 **************************************/
4739 SET_TDBB(tdbb);
4740
4741 DSC desc;
4742 EVL_field(0, rpb->rpb_record, f_rfr_rname, &desc);
4743 DFW_post_work(transaction, dfw_update_format, &desc, 0);
4744}
4745
4746static void check_class(thread_db* tdbb,
4747 jrd_tra* transaction,

Callers 1

VIO_modifyFunction · 0.85

Calls 2

SET_TDBBFunction · 0.85
EVL_fieldFunction · 0.85

Tested by

no test coverage detected