1
0
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:
jimw@mysql.com
2005-09-22 11:40:22 -07:00
parent 306dcf0620
commit 90d6195f04
3 changed files with 18 additions and 0 deletions

View File

@@ -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;