diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-08-28 09:23:15 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-10 22:27:41 +0200 |
commit | d508ef789828ed79dec5a568743574cb32e91710 (patch) | |
tree | c378d5d9150e309e33171bddb85dbe812bd20e66 /sql/sql_plugin.cc | |
parent | 9ccaa62dd5a975178d02040514f84119f3371c74 (diff) | |
download | mariadb-git-d508ef789828ed79dec5a568743574cb32e91710.tar.gz |
cleanup: more 'const' qualifiers
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r-- | sql/sql_plugin.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc index e763a234b0b..bbd16dac6a7 100644 --- a/sql/sql_plugin.cc +++ b/sql/sql_plugin.cc @@ -261,10 +261,10 @@ public: sys_var_pluginvar *cast_pluginvar() { return this; } uchar* real_value_ptr(THD *thd, enum_var_type type); TYPELIB* plugin_var_typelib(void); - uchar* do_value_ptr(THD *thd, enum_var_type type, LEX_STRING *base); - uchar* session_value_ptr(THD *thd, LEX_STRING *base) + uchar* do_value_ptr(THD *thd, enum_var_type type, const LEX_STRING *base); + uchar* session_value_ptr(THD *thd, const LEX_STRING *base) { return do_value_ptr(thd, OPT_SESSION, base); } - uchar* global_value_ptr(THD *thd, LEX_STRING *base) + uchar* global_value_ptr(THD *thd, const LEX_STRING *base) { return do_value_ptr(thd, OPT_GLOBAL, base); } bool do_check(THD *thd, set_var *var); virtual void session_save_default(THD *thd, set_var *var) {} @@ -3270,7 +3270,7 @@ TYPELIB* sys_var_pluginvar::plugin_var_typelib(void) uchar* sys_var_pluginvar::do_value_ptr(THD *thd, enum_var_type type, - LEX_STRING *base) + const LEX_STRING *base) { uchar* result; |