summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-09-29 22:07:48 +0200
committerSergei Golubchik <serg@mariadb.org>2019-10-13 20:03:07 +0200
commitf9de1c225ad7a9d190173a71022671cdcdfb76f6 (patch)
treeb7199f3803f8513cfa6d2c8109da3ba90e0b8872 /sql/sql_show.cc
parent44eac65ce73c332afa5243a9cc3cd078ba26220b (diff)
downloadmariadb-git-f9de1c225ad7a9d190173a71022671cdcdfb76f6.tar.gz
MDEV-12684 Show what config file a sysvar got a value from
Show the config file in I_S.SYSTEM_VARIABLES But only if the user has FILE privilege
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index cc04410abdd..6552d91df03 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -9233,6 +9233,7 @@ ST_FIELD_INFO sysvars_fields_info[]=
Column("ENUM_VALUE_LIST", Longtext(65535), NULLABLE),
Column("READ_ONLY", Yesno(), NOT_NULL),
Column("COMMAND_LINE_ARGUMENT",Name(), NULLABLE),
+ Column("GLOBAL_VALUE_PATH", Varchar(2048), NULLABLE),
CEnd()
};