diff options
author | unknown <msvensson@neptunus.(none)> | 2005-06-17 18:07:46 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-06-17 18:07:46 +0200 |
commit | 2e0ac6d642a0fb328ad80c21c2c310166cab9452 (patch) | |
tree | c37b899fb2ed74b2afaab0edc73bf2835d3fe110 /mysql-test/include | |
parent | cec24f77462bdee9a6f042149953fe2466068259 (diff) | |
download | mariadb-git-2e0ac6d642a0fb328ad80c21c2c310166cab9452.tar.gz |
BUG#10589: des_encrypt functionality always return NULL
- Push warnings if des_encrypt or des_descrypt function fails because of out of resources or wrong params.
- Push warning if des_encrypt or des_decrypt function is used when server is missing support for openssl.
- Add test func_encrypt_nossl that is tun when the server is missing support for openssl.
mysql-test/r/func_encrypt.result:
Add tests for use of des_* function with invalid parameters
mysql-test/t/func_encrypt.test:
Add tests for use of des_* function with invalid parameters
sql/item_strfunc.cc:
Push warning if invalid paremeters are used
Push warning if out of resources
Push warning if user tries to use des_* function when the server has been compiled without support for openssl.
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/not_openssl.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/not_openssl.inc b/mysql-test/include/not_openssl.inc new file mode 100644 index 00000000000..afe2ed37c28 --- /dev/null +++ b/mysql-test/include/not_openssl.inc @@ -0,0 +1,4 @@ +-- require r/not_openssl.require +disable_query_log; +show variables like "have_openssl"; +enable_query_log; |