diff options
author | unknown <joerg@mysql.com> | 2005-03-15 12:40:28 +0100 |
---|---|---|
committer | unknown <joerg@mysql.com> | 2005-03-15 12:40:28 +0100 |
commit | 188d2c26fdc874e8a3fbc41753fe7150061b9877 (patch) | |
tree | 4c1954da1adc3fab4c681a958a6b817722a2db0b /ndb/src/ndbapi | |
parent | f56889321f9062f4b9af4664a9a8387a21534354 (diff) | |
download | mariadb-git-188d2c26fdc874e8a3fbc41753fe7150061b9877.tar.gz |
Proactive compile fix (in case we ever enable "EVENT_DEBUG" on IRIX).
ndb/src/ndbapi/NdbEventOperationImpl.cpp:
Proactive compile fix (in case we ever enable "EVENT_DEBUG" on IRIX):
Two identical declarations on loop level will collide at function level.
Diffstat (limited to 'ndb/src/ndbapi')
-rw-r--r-- | ndb/src/ndbapi/NdbEventOperationImpl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ndb/src/ndbapi/NdbEventOperationImpl.cpp b/ndb/src/ndbapi/NdbEventOperationImpl.cpp index b3fac64d1c4..87bbca5fc71 100644 --- a/ndb/src/ndbapi/NdbEventOperationImpl.cpp +++ b/ndb/src/ndbapi/NdbEventOperationImpl.cpp @@ -362,12 +362,13 @@ NdbEventOperationImpl::next(int *pOverrun) Uint32 *aDataPtr = ptr[1].p; #ifdef EVENT_DEBUG + int i; printf("after values sz=%u\n", ptr[1].sz); - for(int i=0; i < ptr[1].sz; i++) + for (i=0; i < ptr[1].sz; i++) printf ("H'%.8X ",ptr[1].p[i]); printf("\n"); printf("before values sz=%u\n", ptr[2].sz); - for(int i=0; i < ptr[2].sz; i++) + for (i=0; i < ptr[2].sz; i++) printf ("H'%.8X ",ptr[2].p[i]); printf("\n"); #endif |