diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-12-13 15:09:03 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-12-13 15:09:03 +0400 |
commit | 4752a039b5fd8858e4562cff50cb486dea355a69 (patch) | |
tree | 30048ee361aab2d63b5d61f4fc0d822c59992fa2 /mysql-test | |
parent | 5c0730e0ced93743dc9a80166125a175251ca871 (diff) | |
download | mariadb-git-4752a039b5fd8858e4562cff50cb486dea355a69.tar.gz |
MDEV-17995 INET6_NTOA(ucs2_input) erroneously returns NULL
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/main/ctype_ucs.result | 12 | ||||
-rw-r--r-- | mysql-test/main/ctype_ucs.test | 15 |
2 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/main/ctype_ucs.result b/mysql-test/main/ctype_ucs.result index 5641726a831..c2411ff6898 100644 --- a/mysql-test/main/ctype_ucs.result +++ b/mysql-test/main/ctype_ucs.result @@ -6383,3 +6383,15 @@ DEALLOCATE PREPARE stmt; # # End of 10.2 tests # +# +# Start of 10.4 tests +# +# +# MDEV-17995 INET6_NTOA(ucs2_input) erroneously returns NULL +# +SELECT HEX(INET6_ATON('1::1')), HEX(INET6_ATON(CONVERT('1::1' USING ucs2))); +HEX(INET6_ATON('1::1')) HEX(INET6_ATON(CONVERT('1::1' USING ucs2))) +00010000000000000000000000000001 00010000000000000000000000000001 +# +# End of 10.4 tests +# diff --git a/mysql-test/main/ctype_ucs.test b/mysql-test/main/ctype_ucs.test index d0d463c0340..983f48edbc5 100644 --- a/mysql-test/main/ctype_ucs.test +++ b/mysql-test/main/ctype_ucs.test @@ -1094,3 +1094,18 @@ DEALLOCATE PREPARE stmt; --echo # --echo # End of 10.2 tests --echo # + +--echo # +--echo # Start of 10.4 tests +--echo # + +--echo # +--echo # MDEV-17995 INET6_NTOA(ucs2_input) erroneously returns NULL +--echo # + +SELECT HEX(INET6_ATON('1::1')), HEX(INET6_ATON(CONVERT('1::1' USING ucs2))); + + +--echo # +--echo # End of 10.4 tests +--echo # |