diff options
Diffstat (limited to 'sql/vers_string.h')
-rw-r--r-- | sql/vers_string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/vers_string.h b/sql/vers_string.h index ddd691276db..9f42692791b 100644 --- a/sql/vers_string.h +++ b/sql/vers_string.h @@ -60,6 +60,10 @@ struct LEX_STRING_u : public Storage { return *this; } + const LEX_STRING& lex_string() const + { + return *(LEX_STRING *)this; + } }; template <class Compare= Compare_strncmp, class Storage= LEX_STRING_u<> > |