diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-09-03 20:05:51 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-10 22:27:42 +0200 |
commit | a7b2c95a40101f218d6ed608e8703c2ff761ea47 (patch) | |
tree | 7963fc33deb93aa05fe504d3121eea4260c1a639 /sql/set_var.h | |
parent | b969a690217f2364cd6c8b55315360223fe1f00b (diff) | |
download | mariadb-git-a7b2c95a40101f218d6ed608e8703c2ff761ea47.tar.gz |
bugs in sys_var::val_* code
1. @@boolean_var differs from SHOW VARIABLES
2. @@str_var ignored variable charset (which is wrong
for path variables that use filesystem charset)
3. @@signed_int_var in the string context was printed
as unsigned
Diffstat (limited to 'sql/set_var.h')
-rw-r--r-- | sql/set_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/set_var.h b/sql/set_var.h index b495c17867d..580a3378b23 100644 --- a/sql/set_var.h +++ b/sql/set_var.h @@ -206,8 +206,8 @@ private: protected: /** A pointer to a value of the variable for SHOW. - It must be of show_val_type type (bool for SHOW_BOOL, int for SHOW_INT, - longlong for SHOW_LONGLONG, etc). + It must be of show_val_type type (my_bool for SHOW_MY_BOOL, + int for SHOW_INT, longlong for SHOW_LONGLONG, etc). */ virtual uchar *session_value_ptr(THD *thd, const LEX_STRING *base); virtual uchar *global_value_ptr(THD *thd, const LEX_STRING *base); |