Fix func_concat.result: allow -0.00 to be converted to string both with and without leading minus

This commit is contained in:
sergefp@mysql.com 2004-12-30 14:56:31 +03:00
parent 2aa98f89aa
commit 27e0f12ff1
2 changed files with 3 additions and 7 deletions

View File

@ -63,8 +63,4 @@ a0
select 'a' union select concat('a', -0.0);
a
a
a0.0
select 'a' union select concat('a', -0.0000);
a
a
a0.0000
good

View File

@ -46,7 +46,7 @@ select 'a' union select concat('a', -'3');
select 'a' union select concat('a', -concat('3',4));
select 'a' union select concat('a', -0);
--replace_result 'a-0.0' good 'a0.0' good
select 'a' union select concat('a', -0.0);
select 'a' union select concat('a', -0.0000);