1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix for bug#6317: string function CHAR, parameter is NULL, wrong result

This commit is contained in:
gluh@gluh.mysql.r18.ru
2005-02-23 18:15:45 +03:00
parent 4996daec19
commit 2b5ee94a33
3 changed files with 14 additions and 0 deletions

View File

@ -476,3 +476,9 @@ EXPLAIN
WHERE a = CONV('e251273eb74a8ee3', 16, 10);
DROP TABLE t1;
#
# Bug #6317: string function CHAR, parameter is NULL, wrong result
#
SELECT CHAR(NULL,121,83,81,'76') as my_column;
SELECT CHAR_LENGTH(CHAR(NULL,121,83,81,'76')) as my_column;