24#ifndef MYSQL_VERSION_GCS_PROTOCOL_MAP_INCLUDE
25#define MYSQL_VERSION_GCS_PROTOCOL_MAP_INCLUDE
40#define FIRST_PROTOCOL_WITH_SUPPORT_FOR_CONSENSUS_LEADERS 0x080027
represent the MySQL version of a Member within the Group Replication group.
Definition: member_version.h:35
Gcs_protocol_version
The GCS protocol versions.
Definition: gcs_types.h:128
Member_version convert_to_member_version(char const *version_str)
Converts a "major.minor.patch" C-style string to a Member_version object.
Definition: mysql_version_gcs_protocol_map.cc:135
Member_version convert_to_mysql_version(Gcs_protocol_version const &gcs_protocol)
Converts the given GCS protocol version into the respective MySQL version.
Definition: mysql_version_gcs_protocol_map.cc:53
bool valid_mysql_version_string(char const *version_str)
Checks whether the given C-style string has the version format "major.minor.patch".
Definition: mysql_version_gcs_protocol_map.cc:102
Gcs_protocol_version convert_to_gcs_protocol(Member_version const &mysql_version, Member_version const &my_version)
Maps GCS protocol version to MySQL version.
Definition: mysql_version_gcs_protocol_map.cc:80