summaryrefslogtreecommitdiff
path: root/ndb/test/src/HugoOperations.cpp
diff options
context:
space:
mode:
authorunknown <tomas@mc05.(none)>2004-05-12 06:24:12 +0200
committerunknown <tomas@mc05.(none)>2004-05-12 06:24:12 +0200
commitefe5a75d7d8cc42b387e68d74359def0d8ea4f20 (patch)
tree83e35cb392312ebf8591779828136965f605265e /ndb/test/src/HugoOperations.cpp
parent4ea1e89755f8febec25a61e21271f40dc3b5f06d (diff)
downloadmariadb-git-efe5a75d7d8cc42b387e68d74359def0d8ea4f20.tar.gz
portability/autoconf fixes and removed warnings
ndb/include/newtonapi/defs/pcn_types.h: portability/autoconf fixes ndb/include/portlib/NdbMutex.h: portability/autoconf fixes ndb/src/common/editline/editline.c: portability/autoconf fixes ndb/src/common/mgmcommon/ConfigRetriever.cpp: portability/autoconf fixes ndb/src/common/portlib/memtest/munmaptest/munmaptest.cpp: portability/autoconf fixes ndb/src/common/portlib/unix/NdbCondition.c: portability/autoconf fixes ndb/src/common/portlib/unix/NdbDaemon.c: portability/autoconf fixes ndb/src/common/portlib/unix/NdbHost.c: portability/autoconf fixes ndb/src/common/util/File.cpp: portability/autoconf fixes ndb/src/common/util/getarg.c: portability/autoconf fixes ndb/src/common/util/strlcat.c: portability/autoconf fixes ndb/src/common/util/strlcpy.c: portability/autoconf fixes ndb/src/cw/cpcd/Process.cpp: portability/autoconf fixes ndb/src/cw/cpcd/common.cpp: portability/autoconf fixes ndb/src/cw/cpcd/main.cpp: portability/autoconf fixes ndb/src/kernel/blocks/dbdict/printSchemafile/printSchemafile.cpp: portability/autoconf fixes ndb/src/kernel/blocks/dbdih/printSysfile/printSysfile.cpp: portability/autoconf fixes ndb/src/kernel/blocks/ndbfs/AsyncFileTest/AsyncFileTest.cpp: portability/autoconf fixes ndb/src/kernel/error/TimeModule.cpp: portability/autoconf fixes ndb/src/kernel/ndb-main/Main.cpp: portability/autoconf fixes ndb/src/mgmsrv/MgmtSrvr.cpp: portability/autoconf fixes ndb/src/mgmsrv/main.cpp: portability/autoconf fixes ndb/test/ndbapi/flexBench/flexBench.cpp: removed warnings ndb/test/src/HugoCalculator.cpp: removed warnings ndb/test/src/HugoOperations.cpp: removed warnings ndb/test/src/HugoTransactions.cpp: removed warnings ndb/test/src/NDBT_ResultRow.cpp: removed warnings ndb/test/src/NdbBackup.cpp: removed warnings ndb/test/src/NdbConfig.cpp: removed warnings ndb/test/src/NdbRestarter.cpp: removed warnings ndb/tools/cpcc/cpcc.cpp: removed warnings
Diffstat (limited to 'ndb/test/src/HugoOperations.cpp')
-rw-r--r--ndb/test/src/HugoOperations.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ndb/test/src/HugoOperations.cpp b/ndb/test/src/HugoOperations.cpp
index edcec460ba0..91263aa29b4 100644
--- a/ndb/test/src/HugoOperations.cpp
+++ b/ndb/test/src/HugoOperations.cpp
@@ -652,7 +652,7 @@ void HugoOperations::deallocRows(){
int HugoOperations::saveCopyOfRecord(int numRecords ){
- if (numRecords > rows.size())
+ if (numRecords > (int)rows.size())
return NDBT_FAILED;
for (int i = 0; i < numRecords; i++){
@@ -662,7 +662,7 @@ int HugoOperations::saveCopyOfRecord(int numRecords ){
}
BaseString HugoOperations::getRecordStr(int recordNum){
- if (recordNum > rows.size())
+ if (recordNum > (int)rows.size())
return NULL;
return rows[recordNum]->c_str();
}
@@ -673,7 +673,7 @@ int HugoOperations::getRecordGci(int recordNum){
int HugoOperations::compareRecordToCopy(int numRecords ){
- if (numRecords > rows.size())
+ if (numRecords > (int)rows.size())
return NDBT_FAILED;
if ((unsigned)numRecords > savedRecords.size())
return NDBT_FAILED;