// ANY column, not necessarily the first column. But since
// the constructor for column privilege requires us to pass
// a column descriptor, we just choose the first column for
// MIN_SELECT_PRIV requirement.
final CompilerContext cc = getCompilerContext();
cc.pushCurrentPrivType(Authorizer.MIN_SELECT_PRIV);
for (int index = 0; index < size; index++) {
fromTable = (FromTable) elementAt(index);
if (fromTable.isPrivilegeCollectionRequired() &&
fromTable.isBaseTable() && !fromTable.forUpdate()) {
// This is a base table in the FROM list of a SELECT statement.