trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [trafodion] nonstop-qfchen commented on a change in pull request #1821: [TRAFODION-3291] Fix core when multi-column stats are done on lots of columns
Date Wed, 03 Apr 2019 17:59:59 GMT
nonstop-qfchen commented on a change in pull request #1821: [TRAFODION-3291] Fix core when
multi-column stats are done on lots of columns
URL: https://github.com/apache/trafodion/pull/1821#discussion_r271853805
 
 

 ##########
 File path: core/sql/ustat/hs_globals.cpp
 ##########
 @@ -1004,7 +1005,8 @@ void HSGlobalsClass::formGroupSets()
 
          if (LM->LogNeeded())
          {
-            sprintf(LM->msg, "\tMC: GROUP (%s) is a HEAD GROUP ", mgroup_set->colNames->data());
+            sprintf(LM->msg, "\tMC: GROUP (%s) is a HEAD GROUP ", 
+              LM->truncate(mgroup_set->colNames->data(),sizeof(LM->msg-200)));
             LM->Log(LM->msg);
 
 Review comment:
   same comment as before. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message