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

Fixed bug reported in fb-support - wrong permission checks for view columns.

This commit is contained in:
dimitr 2006-01-27 07:59:54 +00:00
parent 231c9fe80f
commit 7ce9802818

View File

@ -3457,6 +3457,14 @@ static jrd_nod* pass1(thread_db* tdbb,
break;
}
// dimitr: if we reference view columns, we need to pass them
// as belonging to a view (in order to compute the access
// permissions properly).
if (relation->rel_view_rse) {
view = relation;
view_stream = stream;
}
UCHAR local_map[MAP_LENGTH];
UCHAR* map = tail->csb_map;
if (!map) {