diff options
Diffstat (limited to 'sql/set_var.h')
-rw-r--r-- | sql/set_var.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/set_var.h b/sql/set_var.h index f248dc2894f..75090d6e1da 100644 --- a/sql/set_var.h +++ b/sql/set_var.h @@ -276,6 +276,17 @@ public: int update(THD *thd); }; +/* For SET ROLE */ + +class set_var_role: public set_var_base +{ + LEX_STRING role; +public: + set_var_role(LEX_STRING role_arg) : role(role_arg) {}; + int check(THD *thd); + int update(THD *thd); +}; + /* For SET NAMES and SET CHARACTER SET */ |