summaryrefslogtreecommitdiff
path: root/sql/vers_string.h
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2017-07-07 17:52:23 +0300
committerGitHub <noreply@github.com>2017-07-07 17:52:23 +0300
commitdcb54040bcb6927e1fafe039979b816865c7c805 (patch)
tree317000323dfbe92cd59ceaae998c68eaa4348720 /sql/vers_string.h
parent42a0289de9789979fedd51240be52347c5330995 (diff)
downloadmariadb-git-dcb54040bcb6927e1fafe039979b816865c7c805.tar.gz
SQL: VTQ testing iface moved to plugin [closes #224]
Diffstat (limited to 'sql/vers_string.h')
-rw-r--r--sql/vers_string.h4
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<> >