Commit 561ea7c0 authored by unknown's avatar unknown

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


server-tools/instance-manager/commands.cc:
  Send an empty string in the option_value column, if no option value is given
parent 1a0bddb8
...@@ -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