enumReplicationError
enum ReplicationError: string
Public API: explicitly declared with
@visibility public.The checks the server's parser applies to the values of replication statements.
Each case names the server error the statement fails with and describes it. The server raises them while it parses, after the grammar has accepted the statement. Source: sql/sql_yacc.yy of MySQL 5.6.51 to 9.1.0 (the actions of TEXT_STRING_sys_nonewline, source_def, replica_until, start_replica_stmt, source_reset_options, filter_wild_db_table_string, dec_num_error and group_replication_password), https://dev.mysql.com/doc/refman/8.4/en/change-replication-source-to.html.
\SqlSemantics\Platform\MySql\Statement\Replication\Problem\ReplicationError::PasswordTooLong->value // => 'A replication password is longer than 32 characters (ER_CHANGE_SOURCE_PASSWORD_LENGTH).'Cases§
case LineFeed = 'The value may not contain a line feed (ER_WRONG_VALUE).'case PasswordTooLong = 'A replication password is longer than 32 characters (ER_CHANGE_SOURCE_PASSWORD…case GroupPasswordTooLong = 'A group replication password is longer than 32 characters (ER_GROUP_REPLICATIO…case DelayOutOfRange = 'The replication delay is greater than 2147483647 seconds (ER_SOURCE_DELAY_VALU…case HeartbeatOutOfRange = 'The heartbeat period is greater than 4294967 seconds (ER_REPLICA_HEARTBEAT_VAL…case RowFormatValue = 'REQUIRE_ROW_FORMAT accepts only 0 or 1 (ER_REQUIRE_ROW_FORMAT_INVALID_VALUE).'case SwitchValue = 'SOURCE_CONNECTION_AUTO_FAILOVER and GTID_ONLY accept only 0 or 1 (ER_PARSE_ERR…case FractionalNumber = 'Only integers are allowed as the value (ER_ONLY_INTEGERS_ALLOWED).'case InvalidUuid = 'The value is not a UUID (ER_WRONG_VALUE).'case UntilCondition = 'The UNTIL condition names neither a complete position, nor a GTID set, nor onl…case ApplierWithCredentials = 'Connection options need the receiver thread; SQL_THREAD alone is started (ER_S…case FileNumberOutOfRange = 'The binary log file number is 0 or greater than 2000000000 (ER_RESET_SOURCE_TO…case WildPattern = 'A wildcard table filter pattern has no dot between database and table (ER_INVA…Test cases 12§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 11
ReplicaConditionsTest::testUntilAcceptsCompletePositionsAndLoneConditionscallsSourceSettingsTest::testErrorAnswersTheCheckOfEachValueKindcallsSourceSettingsTest::testNumberAnswersTheNumberCheckscallsSourceSettingsTest::testTextAnswersTheStringCheckscallsChangeReplicationFilterTest::testDeriveStatementReportsAPatternWithoutDotcallsStartGroupReplicationTest::testDeriveStatementReportsALongPasswordcallsRefusedSettingTest::testMessageDescribesTheCheckcallsStartReplicaTest::testDeriveStatementReportsRefusedConditionscallsResetBinaryLogsTest::testDeriveTargetReportsAFileNumberOutOfRangecallsResetTest::testDeriveStatementDerivesEveryItemcallsChangeReplicationSourceTest::testDeriveStatementReportsRefusedSettingscalls
Relations§
Constant reads 15
- class-const SqlSemantics\Platform\MySql\Rules\Replication\ReplicaConditions::until() packages/sql-semantics-mysql/src/Rules/Replication/ReplicaConditions.php:50
- class-const SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings::error() packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:98
- class-const SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings::text() packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:110
- class-const SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings::text() packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:113
- class-const SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings::text() packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:116
- class-const SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings::number() packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:129
- class-const SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings::number() packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:129
- class-const SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings::number() packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:132
- class-const SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings::number() packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:135
- class-const SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings::lineFeed() packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:147
- class-const SqlSemantics\Platform\MySql\Statement\Replication\Filter\ChangeReplicationFilter::deriveStatement() packages/sql-semantics-mysql/src/Statement/Replication/Filter/ChangeReplicationFilter.php:68
- class-const SqlSemantics\Platform\MySql\Statement\Replication\Group\StartGroupReplication::deriveStatement() packages/sql-semantics-mysql/src/Statement/Replication/Group/StartGroupReplication.php:66
- class-const SqlSemantics\Platform\MySql\Statement\Replication\Replica\StartReplica::deriveStatement() packages/sql-semantics-mysql/src/Statement/Replication/Replica/StartReplica.php:95
- class-const SqlSemantics\Platform\MySql\Statement\Replication\Reset\ResetBinaryLogs::deriveTarget() packages/sql-semantics-mysql/src/Statement/Replication/Reset/ResetBinaryLogs.php:67
- class-const SqlSemantics\Platform\MySql\Statement\Replication\Reset\ResetBinaryLogs::deriveTarget() packages/sql-semantics-mysql/src/Statement/Replication/Reset/ResetBinaryLogs.php:69
Type declarations 5
- type SqlSemantics\Platform\MySql\Rules\Replication\ReplicaConditions packages/sql-semantics-mysql/src/Rules/Replication/ReplicaConditions.php:36
- type SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:88
- type SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:107
- type SqlSemantics\Platform\MySql\Rules\Replication\SourceSettings packages/sql-semantics-mysql/src/Rules/Replication/SourceSettings.php:125
- type SqlSemantics\Platform\MySql\Statement\Replication\Problem\RefusedSetting packages/sql-semantics-mysql/src/Statement/Replication/Problem/RefusedSetting.php:28