Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@GerMalaz
Copy link
Contributor

Checks for MariaDB in server_info on deciding to use show slave 'slave_name' status (if matches) or show slave status for channel '%s' (if it doesn't match).

INCOMPATIBILITY:
When more than one slave is present, the first one returned was checked.
Now it fails in that case, if the -N/--slave-name option is not used.

@waja waja changed the title check_mysql.c: Add a -N slave_name option check_mysql: Add a -N slave_name option Jan 30, 2022
GerMalaz and others added 2 commits February 3, 2023 16:16
Use the string MariaDB in server_info to decide on syntax:
`show slave '%s' status` (if matches) or `show slave status for channel '%s'`(if not)

INCOMPATIBILITY: 
    When more than one slave is present, the first row was used.
    Now it fails if the -N/--slave-name option is not used.
check_mysql: Allow sockets to be specified to -H
@waja waja force-pushed the mysql_named_slaves branch from 4651c91 to 825827a Compare February 3, 2023 15:16
@waja waja added this to the 2.4 milestone Feb 3, 2023
@waja waja modified the milestones: 2.4, 2.5 Jul 23, 2024
@RincewindsHat RincewindsHat modified the milestones: 2.5, 3.1.0 Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants