summaryrefslogtreecommitdiff
path: root/ndb/src
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-10-21 14:17:02 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-10-21 14:17:02 +0000
commit6044a07fd322eeb8295ba5ba113ae2bc808815ab (patch)
tree79f999aa1e9e5aa418f3e0e4ebf3fd049e3c06eb /ndb/src
parent16b8b7dbe534e24a5b0ee5da290b423bc9df7ded (diff)
downloadmariadb-git-6044a07fd322eeb8295ba5ba113ae2bc808815ab.tar.gz
one warning out, one warning in :-), forgot the argument in assert()
Diffstat (limited to 'ndb/src')
-rw-r--r--ndb/src/ndbapi/NdbConnection.cpp2
-rw-r--r--ndb/src/ndbapi/NdbDictionaryImpl.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/ndbapi/NdbConnection.cpp b/ndb/src/ndbapi/NdbConnection.cpp
index 27dbc19eb6b..c142efb1596 100644
--- a/ndb/src/ndbapi/NdbConnection.cpp
+++ b/ndb/src/ndbapi/NdbConnection.cpp
@@ -1646,7 +1646,7 @@ NdbConnection::receiveTCKEY_FAILCONF(const TcKeyFailConf * failConf)
break;
case NdbOperation::NotDefined:
case NdbOperation::NotDefined2:
- assert();
+ assert(false);
break;
}//if
}//while
diff --git a/ndb/src/ndbapi/NdbDictionaryImpl.cpp b/ndb/src/ndbapi/NdbDictionaryImpl.cpp
index 4d33060497d..28aceb536ee 100644
--- a/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+++ b/ndb/src/ndbapi/NdbDictionaryImpl.cpp
@@ -149,7 +149,7 @@ NdbColumnImpl::init(Type t)
m_cs = default_cs;
break;
case Undefined:
- assert();
+ assert(false);
break;
}
m_pk = false;