mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-6138 show sysvar's help in I_S tables
INFORMATION_SCHEMA.SYSTEM_VARIABLES
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user