summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2018-06-13 08:57:15 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2018-06-13 08:57:15 +0300
commitedc1b8e1172abc35644f2b4824a78d49ac17a7d2 (patch)
tree6cf43c1625e81926c5806b88cc04acebc929cd80 /sql/sys_vars.cc
parentcec2219cc54008e18bf112877bd239c885020e4a (diff)
downloadmariadb-git-edc1b8e1172abc35644f2b4824a78d49ac17a7d2.tar.gz
Fix wsrep.variables test case
Correctly port 09b25f85966f44aae933e86b84b4ebe59ded47c3 from 10.0. Expose check_is_super via include file to allow wsrep_on_check to use it.
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index 9f87d66fef1..5470acc7892 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -428,7 +428,7 @@ error_if_in_trans_or_substatement(THD *thd, int in_substatement_error,
return false;
}
-static bool check_has_super(sys_var *self, THD *thd, set_var *var)
+bool check_has_super(sys_var *self, THD *thd, set_var *var)
{
DBUG_ASSERT(self->scope() != sys_var::GLOBAL);// don't abuse check_has_super()
#ifndef NO_EMBEDDED_ACCESS_CHECKS