diff options
author | unknown <mysqldev@o2k.irixworld.net> | 2004-07-09 13:28:52 +0200 |
---|---|---|
committer | unknown <mysqldev@o2k.irixworld.net> | 2004-07-09 13:28:52 +0200 |
commit | 6e5eda0314e1c1aa9f6277a2e042b57e5d078c24 (patch) | |
tree | be618487c4011e6e7411fdf3433ae01f29b89380 /ndb/tools | |
parent | e119be8646076cfca6bb2f98e20170293d0f16a1 (diff) | |
download | mariadb-git-6e5eda0314e1c1aa9f6277a2e042b57e5d078c24.tar.gz |
Irix64 mipspro ndb compile fixes
Diffstat (limited to 'ndb/tools')
-rw-r--r-- | ndb/tools/desc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ndb/tools/desc.cpp b/ndb/tools/desc.cpp index a5ff11edca9..e5b98c4c8e9 100644 --- a/ndb/tools/desc.cpp +++ b/ndb/tools/desc.cpp @@ -73,7 +73,8 @@ int main(int argc, const char** argv){ ndbout << "-- Indexes -- " << endl; ndbout << "PRIMARY KEY("; - for (unsigned j= 0; j < pTab->getNoOfPrimaryKeys(); j++) + unsigned j; + for (j= 0; j < pTab->getNoOfPrimaryKeys(); j++) { const NdbDictionary::Column * col = pTab->getColumn(j); ndbout << col->getName(); @@ -82,7 +83,7 @@ int main(int argc, const char** argv){ } ndbout << ") - UniqueHashIndex" << endl; - for (unsigned j= 0; j < list.count; j++) { + for (j= 0; j < list.count; j++) { NdbDictionary::Dictionary::List::Element& elt = list.elements[j]; const NdbDictionary::Index *pIdx = dict->getIndex(elt.name, argv[i]); if (!pIdx){ |