diff options
author | unknown <joerg@mysql.com> | 2005-03-16 17:05:07 +0100 |
---|---|---|
committer | unknown <joerg@mysql.com> | 2005-03-16 17:05:07 +0100 |
commit | ef62de330755b28d3917cdf3a6958708141fbdcd (patch) | |
tree | 8582fda11edd2a4c48559d4e1f3308e28acdfe61 /ndb | |
parent | 01774e960b2c8998372d9b61515f8a1f5357847b (diff) | |
parent | 188d2c26fdc874e8a3fbc41753fe7150061b9877 (diff) | |
download | mariadb-git-ef62de330755b28d3917cdf3a6958708141fbdcd.tar.gz |
Manual merge: Do not re-use the same identifier at loop level within a function (IRIX!).
Diffstat (limited to 'ndb')
-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 e74bd93205c..208525bfc15 100644 --- a/ndb/src/ndbapi/NdbEventOperationImpl.cpp +++ b/ndb/src/ndbapi/NdbEventOperationImpl.cpp @@ -404,12 +404,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 < (int)ptr[1].sz; i++) + for(i=0; i < (int)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 < (int)ptr[2].sz; i++) + for(i=0; i < (int)ptr[2].sz; i++) printf ("H'%.8X ",ptr[2].p[i]); printf("\n"); #endif |