From f443992e66f6eb32a0b841a3005f44f5ad77faff Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 23 Feb 2005 18:15:45 +0300 Subject: Fix for bug#6317: string function CHAR, parameter is NULL, wrong result --- mysql-test/r/func_str.result | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mysql-test/r/func_str.result') diff --git a/mysql-test/r/func_str.result b/mysql-test/r/func_str.result index 88b1a5ea743..f238915d3b9 100644 --- a/mysql-test/r/func_str.result +++ b/mysql-test/r/func_str.result @@ -733,3 +733,9 @@ WHERE a = CONV('e251273eb74a8ee3', 16, 10); id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t1 system NULL NULL NULL NULL 1 DROP TABLE t1; +SELECT CHAR(NULL,121,83,81,'76') as my_column; +my_column +ySQL +SELECT CHAR_LENGTH(CHAR(NULL,121,83,81,'76')) as my_column; +my_column +4 -- cgit v1.2.1