enumPasswordFunction
enum PasswordFunction: string
Public API: explicitly declared with
@visibility public.The function MySQL 5.x SET PASSWORD writes around a cleartext password: PASSWORD() or OLD_PASSWORD().
In 5.6 a bare string is the hash to store and PASSWORD('…') hashes a cleartext password; 5.7 reads a bare string as cleartext and keeps PASSWORD('…') as a deprecated equivalent. Source: https://dev.mysql.com/doc/refman/5.6/en/set-password.html, https://dev.mysql.com/doc/refman/5.7/en/set-password.html.
\SqlSemantics\Platform\MySql\Statement\Account\PasswordFunction::OldPassword->value // => 'OLD_PASSWORD'Cases§
case Password = 'PASSWORD'case OldPassword = 'OLD_PASSWORD'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§
Constant reads 3
- class-const SqlSemantics\Platform\MySql\Lowering\Account\PasswordRule::statement() packages/sql-semantics-mysql/src/Lowering/Account/PasswordRule.php:68
- class-const SqlSemantics\Platform\MySql\Lowering\Account\PasswordRule::password() packages/sql-semantics-mysql/src/Lowering/Account/PasswordRule.php:92
- class-const SqlSemantics\Platform\MySql\Lowering\Account\PasswordRule::password() packages/sql-semantics-mysql/src/Lowering/Account/PasswordRule.php:93