mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
This commit is contained in:
@@ -188,6 +188,7 @@ public:
|
||||
private:
|
||||
char* m_chr;
|
||||
unsigned m_len;
|
||||
friend bool operator!(const BaseString& str);
|
||||
};
|
||||
|
||||
inline const char*
|
||||
@@ -261,6 +262,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