summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_encrypt_ucs2.result
diff options
context:
space:
mode:
authorAlexander Barkov <alexander.barkov@oracle.com>2011-03-03 15:27:36 +0300
committerAlexander Barkov <alexander.barkov@oracle.com>2011-03-03 15:27:36 +0300
commitcb018d83d758537694fbf1597657266e8f9cd517 (patch)
tree68f7e891d96d5fc77138c75d8e47b1c3a113e412 /mysql-test/r/func_encrypt_ucs2.result
parentce5ab13578f6c26c21b60cff9efeb74961f1680e (diff)
parent1bc5e76efb18a5c69f711b4c57a4ff275b187141 (diff)
downloadmariadb-git-cb018d83d758537694fbf1597657266e8f9cd517.tar.gz
Merging from 5.1
Diffstat (limited to 'mysql-test/r/func_encrypt_ucs2.result')
-rw-r--r--mysql-test/r/func_encrypt_ucs2.result19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/r/func_encrypt_ucs2.result b/mysql-test/r/func_encrypt_ucs2.result
new file mode 100644
index 00000000000..2ca40434cae
--- /dev/null
+++ b/mysql-test/r/func_encrypt_ucs2.result
@@ -0,0 +1,19 @@
+#
+# 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
+SELECT CONVERT(DES_ENCRYPT(0, CHAR('1' USING ucs2)),UNSIGNED);
+CONVERT(DES_ENCRYPT(0, CHAR('1' USING ucs2)),UNSIGNED)
+0
+Warnings:
+Warning 1292 Truncated incorrect INTEGER value: ''
+SELECT CHAR_LENGTH(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' USING ucs2)));
+CHAR_LENGTH(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' USING ucs2)))
+4
+SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED);
+CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED)
+0
+Warnings:
+Warning 1292 Truncated incorrect INTEGER value: 'test'