diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-09-03 20:16:51 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-11 10:23:20 +0200 |
commit | 513f5840f89d061615780a950e5e1a7f176e67d8 (patch) | |
tree | 9a22c58b6fcd09497ea6e94321221221224d6829 /sql/create_options.cc | |
parent | beb2422ad8084839294e4c79c227cf0f1eec8244 (diff) | |
download | mariadb-git-513f5840f89d061615780a950e5e1a7f176e67d8.tar.gz |
MDEV-6138 show sysvar's help in I_S tables
INFORMATION_SCHEMA.SYSTEM_VARIABLES
Diffstat (limited to 'sql/create_options.cc')
-rw-r--r-- | sql/create_options.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/create_options.cc b/sql/create_options.cc index d60639a4f4a..efae87e7533 100644 --- a/sql/create_options.cc +++ b/sql/create_options.cc @@ -331,7 +331,7 @@ bool parse_option_list(THD* thd, handlerton *hton, void *option_struct_arg, char buf[256]; String sbuf(buf, sizeof(buf), system_charset_info), *str; - if ((str= sysvar->val_str(&sbuf, thd, OPT_SESSION, 0))) + if ((str= sysvar->val_str(&sbuf, thd, OPT_SESSION, &null_lex_str))) { LEX_STRING name= { const_cast<char*>(opt->name), opt->name_length }; default_val.str= strmake_root(root, str->ptr(), str->length()); |