summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-07-07 23:49:03 +0200
committerserg@serg.mylan <>2004-07-07 23:49:03 +0200
commitfe57b75079836a3b731b4b05ddb490872df8b3f3 (patch)
treed2840c59a2b5a2dfadd562e410d0a9b1f1a9529b /mysql-test/t
parentd8dabe43fb99b5ec7b78e8cfbc29eaa7f3e8a686 (diff)
downloadmariadb-git-fe57b75079836a3b731b4b05ddb490872df8b3f3.tar.gz
bug#4441 - crash in UNHEX(NULL)
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/func_str.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/func_str.test b/mysql-test/t/func_str.test
index cc8d8a88437..61d0326f7dd 100644
--- a/mysql-test/t/func_str.test
+++ b/mysql-test/t/func_str.test
@@ -78,7 +78,7 @@ select quote(concat('abc\'', '\\cba'));
select quote(1/0), quote('\0\Z');
select length(quote(concat(char(0),"test")));
select hex(quote(concat(char(224),char(227),char(230),char(231),char(232),char(234),char(235))));
-select unhex(hex("foobar")), hex(unhex("1234567890ABCDEF")), unhex("345678");
+select unhex(hex("foobar")), hex(unhex("1234567890ABCDEF")), unhex("345678"), unhex(NULL);
select hex(unhex("1")), hex(unhex("12")), hex(unhex("123")), hex(unhex("1234")), hex(unhex("12345")), hex(unhex("123456"));
select length(unhex(md5("abrakadabra")));