Github user robertamarton commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/349#discussion_r54584974
  
    --- Diff: core/sql/sqlcomp/CmpSeabaseDDLtable.cpp ---
    @@ -6309,6 +6304,23 @@ void CmpSeabaseDDL::alterSeabaseTableAddRIConstraint(
               
               return;
             }
    +
    +       // If the user/role does not have REFERENCES privilege at the 
object 
    +       // level, check to see if the user/role has been granted the 
privilege 
    +       // on all affected columns
    +       if (noObjPriv)
    +         {
    +           PrivMgrUserPrivs* privs = refdNaTable->getPrivInfo();
    +           if (!privs->hasColReferencePriv(refdNAC->getPosition()))
    +             {
    +                *CmpCommon::diags() << DgSqlCode(-4481)
    --- End diff --
    
    No, there are no enums for this range that I could find.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to