1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

minor post review fixes

server-tools/instance-manager/buffer.cc:
  function renames
server-tools/instance-manager/buffer.h:
  function renames
server-tools/instance-manager/command.cc:
  unecessary headers removed
server-tools/instance-manager/command.h:
  cleanup
server-tools/instance-manager/commands.cc:
  cleanup
server-tools/instance-manager/commands.h:
  cleanup
server-tools/instance-manager/guardian.cc:
  cleanup
server-tools/instance-manager/instance.cc:
  cleanup
server-tools/instance-manager/instance_options.cc:
  cleanup
server-tools/instance-manager/instance_options.h:
  cleanup
server-tools/instance-manager/listener.cc:
  cleanup
server-tools/instance-manager/manager.cc:
  cleanup
server-tools/instance-manager/protocol.cc:
  cleanup
This commit is contained in:
unknown
2004-10-25 14:23:31 +04:00
parent a5435ea78a
commit a3d9a1eb06
13 changed files with 77 additions and 84 deletions

View File

@@ -54,11 +54,12 @@ Show_instance_status::Show_instance_status(Command_factory *factory,
Instance *instance;
/* we make a search here, since we don't want t store the name */
if (instance= (factory->instance_map).find(name, len))
if (instance= factory->instance_map.find(name, len))
{
instance_name= instance->options.instance_name;
}
else instance_name= NULL;
else
instance_name= NULL;
}
@@ -90,7 +91,8 @@ Show_instance_options::Show_instance_options(Command_factory *factory,
{
instance_name= instance->options.instance_name;
}
else instance_name= NULL;
else
instance_name= NULL;
}
@@ -116,7 +118,7 @@ Start_instance::Start_instance(Command_factory *factory,
:Command(factory)
{
/* we make a search here, since we don't want t store the name */
if (instance= (factory->instance_map).find(name, len))
if (instance= factory->instance_map.find(name, len))
instance_name= instance->options.instance_name;
}
@@ -150,7 +152,7 @@ Stop_instance::Stop_instance(Command_factory *factory,
:Command(factory)
{
/* we make a search here, since we don't want t store the name */
if (instance= (factory->instance_map).find(name, len))
if (instance= factory->instance_map.find(name, len))
instance_name= instance->options.instance_name;
}