Backport from 5.0

 - Dont test "encrypt" in ctype_ucs
parent 2cb82158
...@@ -755,10 +755,6 @@ select old_password(name) from bug20536; ...@@ -755,10 +755,6 @@ select old_password(name) from bug20536;
old_password(name) old_password(name)
???????? ????????
???????? ????????
select encrypt(name, 'SALT') from bug20536;
encrypt(name, 'SALT')
SA5pDi1UPZdys
SA5pDi1UPZdys
select quote(name) from bug20536; select quote(name) from bug20536;
quote(name) quote(name)
???????? ????????
......
...@@ -489,12 +489,6 @@ select export_set(5, name, upper(name), ",", 5) from bug20536; ...@@ -489,12 +489,6 @@ select export_set(5, name, upper(name), ",", 5) from bug20536;
select password(name) from bug20536; select password(name) from bug20536;
select old_password(name) from bug20536; select old_password(name) from bug20536;
# ENCRYPT relies on OS function crypt() which takes a NUL-terminated string; it
# doesn't return good results for strings with embedded 0 bytes. It won't be
# fixed unless we choose to re-implement the crypt() function ourselves to take
# an extra size_t string_length argument.
select encrypt(name, 'SALT') from bug20536;
# QUOTE doesn't work with UCS2 data. It would require a total rewrite # QUOTE doesn't work with UCS2 data. It would require a total rewrite
# of Item_func_quote::val_str(), which isn't worthwhile until UCS2 is # of Item_func_quote::val_str(), which isn't worthwhile until UCS2 is
# supported fully as a client character set. # supported fully as a client character set.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment