diff options
Diffstat (limited to 'sql/vers_string.h')
-rw-r--r-- | sql/vers_string.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/vers_string.h b/sql/vers_string.h index 0760613cd89..5460838510e 100644 --- a/sql/vers_string.h +++ b/sql/vers_string.h @@ -103,14 +103,10 @@ public: Storage(_str, strlen(_str), Compare::charset()) { } - bool operator== (const XString& b) const + bool streq(const XString& b) const { return Storage::length() == b.length() && 0 == Compare()(this->lex_cstring(), b.lex_cstring()); } - bool operator!= (const XString& b) const - { - return !(*this == b); - } operator const char* () const { return Storage::ptr(); |