Commit b0b08e6c authored by unknown's avatar unknown

Avoid compilation error: On IRIX, identifiers with loop scope still need to be unique

at function level.


ndb/src/ndbapi/NdbEventOperationImpl.cpp:
  Avoid compilation error: On IRIX, variables declared within a loop control statement
  seem to have function scope. Either use different identifiers, or declare them
  at function level.
parent 18bc8734
......@@ -536,9 +536,10 @@ NdbEventOperationImpl::getEventType()
void
NdbEventOperationImpl::print()
{
int i;
ndbout << "EventId " << m_eventId << "\n";
for (int i = 0; i < 2; i++) {
for (i = 0; i < 2; i++) {
NdbRecAttr *p = theFirstPkAttrs[i];
ndbout << " %u " << i;
while (p) {
......@@ -547,7 +548,7 @@ NdbEventOperationImpl::print()
}
ndbout << "\n";
}
for (int i = 0; i < 2; i++) {
for (i = 0; i < 2; i++) {
NdbRecAttr *p = theFirstDataAttrs[i];
ndbout << " %u " << i;
while (p) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment