Commit 066154d2 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 5373a7ec
......@@ -763,10 +763,6 @@ select old_password(name) from bug20536;
old_password(name)
????????
????????
select encrypt(name, 'SALT') from bug20536;
encrypt(name, 'SALT')
SA5pDi1UPZdys
SA5pDi1UPZdys
select quote(name) from bug20536;
quote(name)
????????
......
......@@ -491,11 +491,16 @@ select export_set(5, name, upper(name), ",", 5) from bug20536;
select 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
# 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;
--enable_parsing
# 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
......
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