summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/func_encrypt_ucs2.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/func_encrypt_ucs2.result')
-rw-r--r--mysql-test/main/func_encrypt_ucs2.result25
1 files changed, 25 insertions, 0 deletions
diff --git a/mysql-test/main/func_encrypt_ucs2.result b/mysql-test/main/func_encrypt_ucs2.result
new file mode 100644
index 00000000..ab04c3b4
--- /dev/null
+++ b/mysql-test/main/func_encrypt_ucs2.result
@@ -0,0 +1,25 @@
+#
+# 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:
+Note 1287 'des_encrypt' is deprecated and will be removed in a future release
+SELECT CONVERT(DES_ENCRYPT(0, CHAR('1' USING ucs2)),UNSIGNED);
+CONVERT(DES_ENCRYPT(0, CHAR('1' USING ucs2)),UNSIGNED)
+0
+Warnings:
+Note 1287 'des_encrypt' is deprecated and will be removed in a future release
+Warning 1292 Truncated incorrect INTEGER value: '\xFFT\xDCiK\x92j\xE6\xFC'
+SELECT CHAR_LENGTH(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' USING ucs2))) as a;
+a
+4
+Warnings:
+Note 1287 'des_decrypt' is deprecated and will be removed in a future release
+SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED) as a;
+a
+0
+Warnings:
+Note 1287 'des_decrypt' is deprecated and will be removed in a future release
+Warning 1292 Truncated incorrect INTEGER value: 'test'