summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2005-03-09 00:15:51 -0800
committerunknown <igor@rurik.mysql.com>2005-03-09 00:15:51 -0800
commit44d66d26dc6dbf1e7c90dc3c4cffe7b5d4baba41 (patch)
tree002630a3cdc4f92350162e3aa364b4b47b2619a8 /sql
parent9968ac77c421bfe98f3ff93ece89fe1ab08da7a3 (diff)
downloadmariadb-git-44d66d26dc6dbf1e7c90dc3c4cffe7b5d4baba41.tar.gz
func_str.result, func_str.test:
Added a test case for bug #8669. item_strfunc.cc: Fixed bug #8669. Function AES_DECRYPT can return NULL value. sql/item_strfunc.cc: Fixed bug #8669. Function AES_DECRYPT can return NULL value. mysql-test/t/func_str.test: Added a test case for bug #8669. mysql-test/r/func_str.result: Added a test case for bug #8669.
Diffstat (limited to 'sql')
-rw-r--r--sql/item_strfunc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index ec88f58aa93..930014de771 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -208,6 +208,7 @@ String *Item_func_aes_decrypt::val_str(String *str)
void Item_func_aes_decrypt::fix_length_and_dec()
{
max_length=args[0]->max_length;
+ maybe_null= 1;
}