mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-18 16:31:26 -07:00
First CHANGE MASTER TO tests battery
This commit is contained in:
parent
d60693cc9b
commit
f07e389204
4 changed files with 118 additions and 10 deletions
|
@ -12,3 +12,7 @@ from ansible_collections.community.mysql.plugins.module_utils.version import Loo
|
|||
def uses_replica_terminology(cursor):
|
||||
"""Checks if REPLICA must be used instead of SLAVE"""
|
||||
return LooseVersion(get_server_version(cursor)) >= LooseVersion('8.0.22')
|
||||
|
||||
def supports_gtid_only(cursor):
|
||||
"""The GTID_ONLY option is supported since MySQL 8.0.27"""
|
||||
return LooseVersion(get_server_version(cursor)) >= LooseVersion('8.0.27')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue