mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fix handling of NULL values in decimal fields in FORMAT(). (Bug #13361)
This commit is contained in:
@@ -1011,3 +1011,9 @@ t
|
||||
1000000
|
||||
1
|
||||
drop table t1;
|
||||
create table t1 (d decimal default null);
|
||||
insert into t1 values (null);
|
||||
select format(d, 2) from t1;
|
||||
format(d, 2)
|
||||
NULL
|
||||
drop table t1;
|
||||
|
||||
Reference in New Issue
Block a user