mysql5/mysql-5.7.27/mysql-test/r/func_encrypt_ucs2.result

26 lines
1.2 KiB
Plaintext

#
# Bug#59648 my_strtoll10_mb2: Assertion `(*endptr - s) % 2 == 0' failed.
#
SELECT CHAR_LENGTH(DES_ENCRYPT(0, CHAR('1' USING ucs2)));
CHAR_LENGTH(DES_ENCRYPT(0, CHAR('1' USING ucs2)))
9
Warnings:
Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead
SELECT CONVERT(DES_ENCRYPT(0, CHAR('1' USING ucs2)),UNSIGNED);
CONVERT(DES_ENCRYPT(0, CHAR('1' USING ucs2)),UNSIGNED)
0
Warnings:
Warning 1287 'DES_ENCRYPT' is deprecated and will be removed in a future release. Please use AES_ENCRYPT instead
Warning 1292 Truncated incorrect INTEGER value: '\xFFT\xDCiK\x92j\xE6\xFC'
SELECT CHAR_LENGTH(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' USING ucs2)));
CHAR_LENGTH(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' USING ucs2)))
4
Warnings:
Warning 1287 'DES_DECRYPT' is deprecated and will be removed in a future release. Please use AES_DECRYPT instead
SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED);
CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED)
0
Warnings:
Warning 1287 'DES_DECRYPT' is deprecated and will be removed in a future release. Please use AES_DECRYPT instead
Warning 1292 Truncated incorrect INTEGER value: 'test'