[
https://issues.apache.org/jira/browse/TRAFODION-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198846#comment-16198846
]
ASF GitHub Bot commented on TRAFODION-2768:
-------------------------------------------
Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/1260#discussion_r143764664
--- Diff: core/sqf/src/tm/tm.cpp ---
@@ -460,9 +460,13 @@ void tm_process_req_requestregioninfo(CTmTxMessage *
pp_msg)
TM_Txid_legacy lv_transid;
} u;
- char tname[2000], ername[50], rname[100], offline[20], regid[200],
hostname[200], port[100];
+ char tname[2000];
+ tname[299] = '\0';
--- End diff --
Odd that we'd set just element 299 of a 2000-byte buffer to null. But I see
that this is the way it was before.
> Make Trafodion code base to compile in RH7
> ------------------------------------------
>
> Key: TRAFODION-2768
> URL: https://issues.apache.org/jira/browse/TRAFODION-2768
> Project: Apache Trafodion
> Issue Type: Improvement
> Components: sql-general
> Reporter: Selvaganesan Govindarajan
> Assignee: Selvaganesan Govindarajan
>
> Currently Trafodion can be built in RH6 version. Trafodion can't be built in
> RH7 and it fails with many compilation warnings. The compilation warnings in
> SQL part of the trafodion code are turned into errors.
> Fix the trafodion code to compile without warnings in RH7
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)