summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-10-13 00:38:43 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-10-13 00:38:43 +0000
commitbeb3fddcf7b8cb852ee0be8debf4b9ea3d0ebcb2 (patch)
treebe54c71368aa5c6d019489a681d1a12029bfc0d0 /ndb
parent63af3d3a2ee883afc1a89e74303d64b04cf19a64 (diff)
downloadmariadb-git-beb3fddcf7b8cb852ee0be8debf4b9ea3d0ebcb2.tar.gz
fix for some build/test errors for 4.1.6
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/mgmsrv/ConfigInfo.cpp2
-rw-r--r--ndb/src/ndbapi/NdbScanFilter.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/ndb/src/mgmsrv/ConfigInfo.cpp b/ndb/src/mgmsrv/ConfigInfo.cpp
index 9629c5e8904..bff7f9be0e6 100644
--- a/ndb/src/mgmsrv/ConfigInfo.cpp
+++ b/ndb/src/mgmsrv/ConfigInfo.cpp
@@ -2373,7 +2373,7 @@ ConfigInfo::getAlias(const char * section) const {
bool
ConfigInfo::verify(const Properties * section, const char* fname,
Uint64 value) const {
- Uint64 min, max; min = max + 1;
+ Uint64 min, max;
min = getInfoInt(section, fname, "Min");
max = getInfoInt(section, fname, "Max");
diff --git a/ndb/src/ndbapi/NdbScanFilter.cpp b/ndb/src/ndbapi/NdbScanFilter.cpp
index 3813ab139de..38b1c70c047 100644
--- a/ndb/src/ndbapi/NdbScanFilter.cpp
+++ b/ndb/src/ndbapi/NdbScanFilter.cpp
@@ -779,7 +779,9 @@ main(void){
template class Vector<NdbScanFilterImpl::State>;
#if __SUNPRO_CC != 0x560
+#ifndef _FORTEC_
template int NdbScanFilterImpl::cond_col_const(Interpreter::BinaryCondition, Uint32 attrId, Uint32);
template int NdbScanFilterImpl::cond_col_const(Interpreter::BinaryCondition, Uint32 attrId, Uint64);
#endif
+#endif