Commit 48959871 authored by petr@mysql.com's avatar petr@mysql.com

Fix for Bug #11200 show instance options returns garbage instead of log options

parent df93c278
...@@ -316,7 +316,10 @@ int Show_instance_options::execute(struct st_net *net, ulong connection_id) ...@@ -316,7 +316,10 @@ int Show_instance_options::execute(struct st_net *net, ulong connection_id)
*option_value= '='; *option_value= '=';
} }
else else
{
store_to_string(&send_buff, tmp_option + 2, &position); store_to_string(&send_buff, tmp_option + 2, &position);
store_to_string(&send_buff, "", &position);
}
if (send_buff.is_error() || if (send_buff.is_error() ||
my_net_write(net, send_buff.buffer, (uint) position)) my_net_write(net, send_buff.buffer, (uint) position))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment