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

Bugs#9129: CHARSET(), COLLATION(), COERCIBILITY()

not always correct for NULL values.
Now they always result a non NULL value even
the argument is NULL. It is more usefull for 
debugging purposes.
This commit is contained in:
bar@mysql.com
2005-03-16 17:44:29 +04:00
parent 41487d0b4e
commit a7b877df78
4 changed files with 26 additions and 14 deletions

View File

@ -368,6 +368,15 @@ select
show create table t1;
drop table t1;
#
# Bug#9129
#
create table t1 (a char character set latin2);
insert into t1 values (null);
select charset(a), collation(a), coercibility(a) from t1;
drop table t1;
select charset(null), collation(null), coercibility(null);
#
# test for SUBSTR
#