diff options
author | unknown <monty@mishka.local> | 2005-06-27 20:31:00 +0300 |
---|---|---|
committer | unknown <monty@mishka.local> | 2005-06-27 20:31:00 +0300 |
commit | 8732136285760c6545ecede93e52f442db87858b (patch) | |
tree | 11c3f63ec13344e241e69b6178f65e8bd56e71b1 /mysql-test/r/func_encrypt_nossl.result | |
parent | 9712bb4cdefc93a79a841ab6878d7a4a20bfea11 (diff) | |
download | mariadb-git-8732136285760c6545ecede93e52f442db87858b.tar.gz |
Portability fixes
Fixes while reviewing new pushed code
NULL as argument to encrypt/decrypt should return NULL without a warning
client/mysqldump.c:
Cleanup
Ensure we free allocated memory
Portability fixes
client/mysqltest.c:
Cleanup of code during review
Portability fixes (Don't use 'bool')
mysql-test/r/func_encrypt.result:
NULL as argument to encrypt/decrypt should return NULL without a warning
mysql-test/r/func_encrypt_nossl.result:
Added test of NULL argument
mysql-test/t/func_encrypt_nossl.test:
Added test of NULL argument
sql/handler.cc:
Cleanup during code review
sql/item_strfunc.cc:
NULL as argument to encrypt/decrypt should return NULL without a warning
sql/sql_parse.cc:
Fix wrong merge (fix was not needed as the previous code was reverted)
sql/sql_table.cc:
Removed extra new line
Diffstat (limited to 'mysql-test/r/func_encrypt_nossl.result')
-rw-r--r-- | mysql-test/r/func_encrypt_nossl.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/func_encrypt_nossl.result b/mysql-test/r/func_encrypt_nossl.result index fea752f4a4a..e3ae6a5192a 100644 --- a/mysql-test/r/func_encrypt_nossl.result +++ b/mysql-test/r/func_encrypt_nossl.result @@ -23,6 +23,10 @@ des_encrypt("test", NULL) NULL Warnings: Error 1289 The 'des_encrypt' feature is disabled; you need MySQL built with '--with-openssl' to have it working +des_encrypt(NULL, NULL) +NULL +Warnings: +Error 1289 The 'des_encrypt' feature is disabled; you need MySQL built with '--with-openssl' to have it working select des_decrypt("test", 'anotherkeystr'); des_decrypt("test", 'anotherkeystr') NULL |