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:
@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user