Commit 74708ae0 authored by joerg@mysql.com's avatar joerg@mysql.com

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

at function level.
parent ba8d7edb
......@@ -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