trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertamarton <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request: TRAFODION [1879] - Integrate Lib...
Date Thu, 10 Mar 2016 00:48:59 GMT
Github user robertamarton commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/372#discussion_r55617875
  
    --- Diff: core/sql/common/ComUser.cpp ---
    @@ -347,3 +347,57 @@ Int16 ComUser::getAuthNameFromAuthID(Int32   authID,
     
       return FEOK;
     }
    +
    +// ----------------------------------------------------------------------------
    +// method: getRoleList
    +//
    +// Returns the list of system roles
    +// Params:
    +//   (out) roleList - the list of roles, space is managed by the caller
    +//   (out) actualLen - the length of the returned role list
    +//   ( in) maxLen - the size of the roleList allocated by the caller
    +//   ( in) delimited - delimiter to use (defaults to single quote)
    +//   ( in) separator - specified what separator to use (defaults to comma)
    +//   ( in) includeSpecialAuths - includes the special auths (PUBLIC and _SYSTEM) 
    +//
    +//  Returns:  FEOK -- found
    +//            FEBUFTOOSMALL -- space allocated for role list is too small 
    +// ----------------------------------------------------------------------------
    +Int32 ComUser::getRoleList (char * roleList,
    --- End diff --
    
    I thought about it, I tried to keep the code similar to other functions in the same file.
 But you have a point. Will think about it for a subsequent release.


---
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