mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 18:25:30 +02:00
Handle errors returned by system crypt() in ENCRYPT(). (Bug #13619)
mysql-test/r/func_crypt.result: Add new results mysql-test/t/func_crypt.test: Add new regression test sql/item_strfunc.cc: Handle NULL result from call to crypt().
This commit is contained in:
parent
78f5997ade
commit
041123bade
3 changed files with 16 additions and 1 deletions
|
|
@ -49,4 +49,10 @@ select old_password(' i d k f a ');
|
|||
|
||||
explain extended select password('idkfa '), old_password('idkfa');
|
||||
|
||||
#
|
||||
# Bug #13619: Crash on FreeBSD with salt like '_.'
|
||||
#
|
||||
--replace_column 1 #
|
||||
select encrypt('1234','_.');
|
||||
|
||||
# End of 4.1 tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue