final class Releases
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

Answers which replication words and options a MySQL release accepts.

Rule: MYSQL-REPLICATION-RELEASE-001. The legacy vocabulary is the only one of MySQL 5.6 and 5.7; from 8.0 the current words exist and the legacy spellings of CHANGE MASTER, its MASTER_ options and RESET SLAVE are read as their current synonyms, until 8.4 removes them. RESET MASTER has no current spelling before 8.2 and none of its legacy spelling from 8.4. START and STOP keep their spelling: SLAVE up to 8.3, REPLICA from 8.0. An option exists from the release that introduced it: SOURCE_TLS_VERSION from 5.7, the options of 8.0 from 8.0. Terminates: constant work. Source: https://dev.mysql.com/doc/refman/8.0/en/change-master-to.html, https://dev.mysql.com/doc/refman/8.0/en/start-replica.html, https://dev.mysql.com/doc/relnotes/mysql/8.2/en/news-8-2-0.html, https://dev.mysql.com/doc/refman/5.7/en/change-master-to.html. Status: Implemented.

Methods§

public function legacy(GrammarRelease $release): bool

Tells whether a release is one of the 5.x grammars.

Parameters

Returns

bool
Test cases 1
Called from 8
Calls 2
public function option(GrammarRelease $release, SourceOptionKind $kind): bool

Tells whether a release accepts an option of CHANGE REPLICATION SOURCE.

Parameters

Returns

bool
Test cases 1
Called from 1
Calls 39

Test cases 6§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 6

Relations§

Instantiated in 10
Method calls 12