1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

minor post review fixes

This commit is contained in:
petr@mysql.com
2004-10-25 14:23:31 +04:00
parent a8e2db4ecd
commit 1e46fea310
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;
}