Commit c1f1732f authored by unknown's avatar unknown

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

parent 49501611
...@@ -63,8 +63,4 @@ a0 ...@@ -63,8 +63,4 @@ a0
select 'a' union select concat('a', -0.0); select 'a' union select concat('a', -0.0);
a a
a a
a0.0 good
select 'a' union select concat('a', -0.0000);
a
a
a0.0000
...@@ -46,7 +46,7 @@ select 'a' union select concat('a', -'3'); ...@@ -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', -concat('3',4));
select 'a' union select concat('a', -0); select 'a' union select concat('a', -0);
select 'a' union select concat('a', -0.0);
select 'a' union select concat('a', -0.0000); --replace_result 'a-0.0' good 'a0.0' good
select 'a' union select concat('a', -0.0);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment