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

    
https://github.com/apache/incubator-trafodion/pull/1288#discussion_r148654201
  
    --- Diff: core/sql/sqlcomp/CmpDescribe.cpp ---
    @@ -3777,6 +3808,65 @@ short CmpDescribeSeabaseTable (
             }
         }
     
    +  //display comments
    +  if (type == 2 && objectUID > 0)
    +    {
    +      enum ComObjectType objType = COM_BASE_TABLE_OBJECT;
    +
    +      if (isView)
    +        {
    +          objType = COM_VIEW_OBJECT;
    +        }
    +
    +      if (cmpSBD.switchCompiler())
    +        {
    +          *CmpCommon::diags() << DgSqlCode(-CAT_UNABLE_TO_RETRIEVE_PRIVS);
    --- End diff --
    
    again, correct sql code?


---

Reply via email to