Commit 9bb8f6d0 authored by sergefp@mysql.com's avatar sergefp@mysql.com

Fix the tests: allow result of concat('a', -0.0) be both 'a0.0' and 'a-0.0'

(this depends on s[n]printf implementation and differs from system to system)
parent bb806c1e
...@@ -46,7 +46,9 @@ select 'a' union select concat('a', -'3'); ...@@ -46,7 +46,9 @@ 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);
--replace_result a-0.0 a0.0
select 'a' union select concat('a', -0.0); select 'a' union select concat('a', -0.0);
--replace_result a-0.0000 a0.0000
select 'a' union select concat('a', -0.0000); select 'a' union select concat('a', -0.0000);
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