Examples of popCurrentPrivType()


Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

                }
      }
    }
    finally
    {
      compilerContext.popCurrentPrivType();
    }

    return  checkConstraints;
  }
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

        /* e.g. CREATE TABLE t1 (x) AS VALUES NULL WITH NO DATA */
        queryExpression.bindUntypedNullsToResultColumns(null);
      }
      finally
      {
        cc.popCurrentPrivType();
        cc.setCurrentAuxiliaryProviderList(prevAPL);
      }
     
      /* If there is an RCL for the table definition then copy the
       * names to the queryExpression's RCL after verifying that
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

                // Make sure we check for minimum SELECT privilege on it.
                cc.addRequiredColumnPriv(
                    fromTable.getTableDescriptor().getColumnDescriptor(1));
            }
        }
        cc.popCurrentPrivType();
        getCompilerContext().skipTypePrivileges( wasSkippingTypePrivileges );
  }

  /**
   * Bind the expressions in this FromList.  This means
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

                cc.addRequiredColumnPriv( cd );
            }
        }
        finally
        {
            cc.popCurrentPrivType();
        }
    }

    /**
     * Add privilege checks for UDTs referenced by this statement.
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

    if (isPrivilegeCollectionRequired())
    {
      // need SELECT privilege to perform lock table statement.
      cc.pushCurrentPrivType(Authorizer.SELECT_PRIV);
      cc.addRequiredTablePriv(lockTableDescriptor);
      cc.popCurrentPrivType();
    }
  }

  /**
   * Return true if the node references SESSION schema tables (temporary or permanent)
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

    }
    if (isPrivilegeCollectionRequired())
    {
      compilerContext.pushCurrentPrivType(Authorizer.TRIGGER_PRIV);
      compilerContext.addRequiredTablePriv(triggerTableDescriptor);
      compilerContext.popCurrentPrivType();     
    }

    /*
    ** Regenerates the actionText and actionNode if necessary.
    */
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

                 );
        }
        finally
        {
            // Restore previous compiler state
            cc.popCurrentPrivType();
            cc.setReliability( previousReliability );
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

           
            if ( colDesc != null )
            {
                cc.pushCurrentPrivType( Authorizer.SELECT_PRIV );
                cc.addRequiredColumnPriv( colDesc );
                cc.popCurrentPrivType();
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

    {
        CompilerContext cc = getCompilerContext();
       
        cc.pushCurrentPrivType( Authorizer.EXECUTE_PRIV );
        cc.addRequiredRoutinePriv( routine.ad );
        cc.popCurrentPrivType();
    }

    /** Get a list of CastNodes in an expression */
    private List<CastNode>   getCastNodes( QueryTreeNode expression )
        throws StandardException
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.popCurrentPrivType()

    setDataTypeServices(resultColumns);

    /* Add this subquery to the subquery list */
    subqueryList.addSubqueryNode(this);

    cc.popCurrentPrivType();
    return this;
  }

  /**
   * Preprocess an expression tree.  We do a number of transformations
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.