mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Bug#26176 NdbObjectIdMap::expand unable to expand!! mysqld got signal 11
- try to catch as many malloc failures as possible and give error messages ndb/src/ndbapi/ObjectMap.cpp: New BitKeeper file ``ndb/src/ndbapi/ObjectMap.cpp''
This commit is contained in:
@@ -185,6 +185,7 @@ public:
|
||||
private:
|
||||
char* m_chr;
|
||||
unsigned m_len;
|
||||
friend bool operator!(const BaseString& str);
|
||||
};
|
||||
|
||||
inline const char*
|
||||
@@ -249,6 +250,12 @@ BaseString::operator!=(const char *str) const
|
||||
return strcmp(m_chr, str) != 0;
|
||||
}
|
||||
|
||||
inline bool
|
||||
operator!(const BaseString& str)
|
||||
{
|
||||
return str.m_chr == NULL;
|
||||
}
|
||||
|
||||
inline BaseString&
|
||||
BaseString::assign(const BaseString& str)
|
||||
{
|
||||
|
Reference in New Issue
Block a user