苏锦佩 created TRAFODION-2797:
------------------------------
Summary: 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)