[
https://issues.apache.org/jira/browse/TRAFODION-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250340#comment-16250340
]
ASF GitHub Bot commented on TRAFODION-2797:
-------------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-trafodion/pull/1292
> odb variable name conflict
> --------------------------
>
> Key: TRAFODION-2797
> URL: https://issues.apache.org/jira/browse/TRAFODION-2797
> Project: Apache Trafodion
> Issue Type: Bug
> Components: db-utility-odb
> Reporter: 苏锦佩
>
> in function Oload2:
> static void Oload2(int eid)
> {
> .....
> unsigned int nldr=0, /* number of loaders */
> k=0, /* input file field number */
> m = 0, /* rowset array record number */
> i=0, /* loop variable */
> ....
> size_t i = 0; {color:red}<----- the name conflict with outer scope
> name cause some bug{color}
> while (i < len) {
> ...
> for(i=0;i<nldr;i++){
> ...
> }
> }
> }
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)