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

    
https://github.com/apache/incubator-trafodion/pull/1109#discussion_r120394504
  
    --- Diff: core/sql/ustat/hs_globals.cpp ---
    @@ -3776,7 +3776,7 @@ NABoolean HSGlobalsClass::isAuthorized(NABoolean 
isShowStats)
            if (privs == NULL)
              {
                *CmpCommon::diags() << DgSqlCode(-1034);
    -            authorized = FALSE;
    +            return FALSE;
    --- End diff --
    
    The return was added because the next statement "if ( 
privs->hasSelectPriv() )" cores if privs is NULL.     But will change the code 
to not break the time.


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