Same pattern as the sibling servers_defaults test: -Wunused-label
flagged the 'cleanup:' block, which held the only restore-from-backup
path for the mysql_hostgroup_attributes runtime table. Nothing ever
jumped to it, so every MYSQL_QUERY_T early-return from the test body
skipped the restore and leaked the admin MYSQL* handle.
- Add mysql_init NULL check and close admin on real_connect failure.
- Introduce a run_cleanup_and_exit lambda that performs the
DELETE/INSERT restore (conditional on backup_created) and closes
admin.
- Replace the MYSQL_QUERY_T backup-creation calls with explicit
mysql_query_t + run_cleanup_and_exit so any failure goes through
the cleanup path.
- Delete the dead 'cleanup:' label.