1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix for QUOTE() function.

This commit is contained in:
ram@mysql.r18.ru
2003-01-01 15:59:35 +04:00
parent c7a02249f5
commit aedd600401
3 changed files with 5 additions and 2 deletions

View File

@ -170,6 +170,9 @@ quote(concat('abc\'', '\\cba'))
select quote(1/0), quote('\0\Z');
quote(1/0) quote('\0\Z')
NULL '\0\Z'
select length(quote(concat(char(0), "test")));
length(quote(concat(char(0), "test")))
8
select reverse("");
reverse("")

View File

@ -69,7 +69,7 @@ select decode(encode("abcdef","monty"),"monty")="abcdef";
select quote('\'\"\\test');
select quote(concat('abc\'', '\\cba'));
select quote(1/0), quote('\0\Z');
select length(quote(concat(char(0), "test")));
#
# Wrong usage of functions
#