1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

A fix (bug #6564: QUOTE(NULL) returns NULL, not the string 'NULL')

This commit is contained in:
ram@gw.mysql.r18.ru
2004-11-11 18:20:40 +04:00
parent 4f04217879
commit 98df9313c0
3 changed files with 21 additions and 4 deletions

View File

@ -69,6 +69,12 @@ 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))));
#
# Bug #6564: QUOTE(NULL
#
select concat('a', quote(NULL));
#
# Wrong usage of functions
#