classStartRule
final class StartRule
implements RewriteRule
sql_yacc.yy requires the IO thread when START REPLICA/SLAVE supplies authentication options.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceAdds the IO thread to an explicitly SQL-only start, keeping the authentication values intact.
Parameters
$sequence | TerminalSequence |
Returns
Calls 8
- method-call TerminalSequence::occurrences() line 24
- method-call TerminalSequence::range() line 25
- method-call TerminalSequence::child() line 26
- method-call TerminalSequence::nameAt() line 28
- function-call
array_sliceline 31 - method-call TerminalSequence::names() line 31
- function-call
in_arrayline 33 - function-call
array_intersectline 34
Test cases 7§
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 6
GenerationContextTestcallsRewriteDefinitionsTestcallsSqlGeneratorFactoryTestcallsMySqlProviderTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls