Commit 995cca62 authored by unknown's avatar unknown

Disable testing of "encrypt" in ctype_ucs.test


mysql-test/r/ctype_ucs.result:
  Update result file
mysql-test/t/ctype_ucs.test:
  Disable testing of "encrypt" function in this file. That test has to be guarded by "have_crypt.inc"
parent 88a15a65
...@@ -763,10 +763,6 @@ select old_password(name) from bug20536; ...@@ -763,10 +763,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)
???????? ????????
......
...@@ -491,11 +491,16 @@ select export_set(5, name, upper(name), ",", 5) from bug20536; ...@@ -491,11 +491,16 @@ 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;
# Disable test case as encrypt relies on 'crypt' function.
# "decrypt" is noramlly tested in func_crypt.test which have a
# "have_crypt.inc" test
--disable_parsing
# ENCRYPT relies on OS function crypt() which takes a NUL-terminated string; it # 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 # 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 # fixed unless we choose to re-implement the crypt() function ourselves to take
# an extra size_t string_length argument. # an extra size_t string_length argument.
select encrypt(name, 'SALT') from bug20536; select encrypt(name, 'SALT') from bug20536;
--enable_parsing
# 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
......
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