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

Lowers the characteristics of stored routines.

Rule: MYSQL-ROUTINE-CHARACTERISTIC-LOWERING-001. Scope: sp_a_chistics, sp_c_chistics, sp_chistic, sp_c_chistic, sp_suid. The characteristics are kept in written order, repeated kinds included. Constructs: RoutineComment, RoutineLanguage, DataAccess, SqlSecurity, Determinism. Terminates: the lists are flattened iteratively. Source: https://dev.mysql.com/doc/refman/8.4/en/create-procedure.html, https://dev.mysql.com/doc/refman/8.4/en/alter-procedure.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to

Private surface 4§

Implementation details, listed for orientation only.

private const LISTS = ['sp_a_chistics:', 'sp_a_chistics: sp_a_chistics sp_chistic', 'sp_c_chistics:',…
private const ACCESS = ['sp_chistic: NO_SYM SQL_SYM' => \SqlSemantics\Platform\MySql\Statement\Routine…
private const SECURITY = ['sp_suid: SQL_SYM SECURITY_SYM DEFINER_SYM' => \SqlSemantics\Platform\MySql\St…
private Lowering $lowering

Test cases 1§

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

Dedicated tests 1

Relations§

Instantiated in 2
Method calls 2