mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-23 02:41:29 -07:00
Merge f07e389204
into 6ce2f49f96
This commit is contained in:
commit
7ec57a546c
5 changed files with 324 additions and 2 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