diff options
Diffstat (limited to 'server-tools/instance-manager/mysql_connection.cc')
-rw-r--r-- | server-tools/instance-manager/mysql_connection.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server-tools/instance-manager/mysql_connection.cc b/server-tools/instance-manager/mysql_connection.cc index a19914dfdd2..e52f70cf449 100644 --- a/server-tools/instance-manager/mysql_connection.cc +++ b/server-tools/instance-manager/mysql_connection.cc @@ -333,12 +333,12 @@ int Mysql_connection_thread::dispatch_command(enum enum_server_command command, { log_info("query for connection %lu : ----\n%s\n-------------------------", connection_id,packet); - if (Command *command= parse_command(&instance_map, packet)) + if (Command *com= parse_command(&instance_map, packet)) { int res= 0; log_info("query for connection %lu successefully parsed",connection_id); - res= command->execute(&net, connection_id); - delete command; + res= com->execute(&net, connection_id); + delete com; if (!res) log_info("query for connection %lu executed ok",connection_id); else |