mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
8640cd3544
client/mysqladmin.c: Handle new password.c prototypes include/mysql_com.h: New prototypes libmysql/Makefile.shared: Client need sha1 compiled in now libmysql/password.c: Replace copy with symlink mysql-test/r/func_crypt.result: Fix test results to handle new password function mysql-test/t/func_crypt.test: New tests for new password function sql/item_create.cc: add old_password() function sql/item_create.h: add old_password() function sql/item_strfunc.cc: add old_password() function changes to new password.c functions prototypes sql/item_strfunc.h: add old_password function handle new prototypes sql/lex.h: add OLD_PASSWORD function sql/password.c: Continue to work on new password handling sql/sql_acl.cc: Handle new passwords sql/sql_yacc.yy: Changes for new prototypes
6 lines
299 B
Text
6 lines
299 B
Text
select length(encrypt('foo', 'ff')) <> 0;
|
|
length(encrypt('foo', 'ff')) <> 0
|
|
1
|
|
select old_password('test'),length(password("1")),length(encrypt('test')),encrypt('test','aa');
|
|
old_password('test') length(password("1")) length(encrypt('test')) encrypt('test','aa')
|
|
378b243e220ca493 45 13 aaqPiZY5xR5l.
|