mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Patch for IM in scope of working on BUG#24415: Instance manager test
im_daemon_life_cycle fails randomly. 1. Move IM-angel functionality into a separate file, create Angel class. 2. Be more verbose; 3. Fix typo in FLUSH INSTANCES implementation; 4. Polishing.
This commit is contained in:
@ -210,8 +210,10 @@ int Show_instances::write_data(st_net *net)
|
||||
|
||||
int Flush_instances::execute(st_net *net, ulong connection_id)
|
||||
{
|
||||
if (Manager::flush_instances())
|
||||
return ER_OUT_OF_RESOURCES;
|
||||
int err_status= Manager::flush_instances();
|
||||
|
||||
if (err_status)
|
||||
return err_status;
|
||||
|
||||
return net_send_ok(net, connection_id, NULL) ? ER_OUT_OF_RESOURCES : 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user