mariadb/mysql-test/t/func_encrypt_ucs2.test
Sergei Golubchik 0ee919b86e MDEV-8480 mysql-test - main.func_encrypt_ucs2 fails if FIPS=1
disable the test when DES doesn't work
2016-04-24 18:15:20 +02:00

12 lines
445 B
Text

-- source include/have_des.inc
-- source include/have_ucs2.inc
--echo #
--echo # Bug#59648 my_strtoll10_mb2: Assertion `(*endptr - s) % 2 == 0' failed.
--echo #
SELECT CHAR_LENGTH(DES_ENCRYPT(0, CHAR('1' USING ucs2)));
SELECT CONVERT(DES_ENCRYPT(0, CHAR('1' USING ucs2)),UNSIGNED);
SELECT CHAR_LENGTH(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' USING ucs2)));
SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED);