trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #660: TRAFODION [2137] Improve metadata acc...
Date Wed, 17 Aug 2016 21:46:27 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/660#discussion_r75213651
  
    --- Diff: core/sql/generator/Generator.cpp ---
    @@ -1737,6 +1737,82 @@ TrafDesc * Generator::createConstrKeyColsDescs(Int32 numKeys,
       return first_key_desc;
     }
     
    +// ****************************************************************************
    +// This method creates a set of trafodion descriptors (TrafDesc) based on 
    +// ComTdbVirtTablePrivInfo 
    +//
    +// see ComTdb.h for a description of the ComTdbVirtTablePrivInfo
    +// see TrafDDLdesc.h for a description of TrafDesc for the priv_desc
    +// ****************************************************************************
    +TrafDesc * Generator::createPrivDescs( const ComTdbVirtTablePrivInfo * privInfo,
    +                                       Space * space)
    +{
    +  // When authorization is enabled, each object must have at least one grantee
    +  // - the system grant to the object owner
    --- End diff --
    
    I take it we never call this routine if authorization is not enabled?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message