classHostNameRule
final class HostNameRule
implements RewriteRule
sql_lex.cc enters MY_LEX_HOSTNAME only after a single at sign, including account and user-variable names.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceOutside that scanner state, ident_or_text must use an ordinary identifier instead of a dotted hostname run.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 1
Test cases 8§
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 7
GenerationContextTestcallsSystemVariableRuleTestcallsRewriteDefinitionsTestcallsSqlGeneratorFactoryTestcallsMySqlProviderTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls