Commit e1455e4d authored by unknown's avatar unknown
Browse files

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)


mysql-test/t/func_concat.test:
  Allow result of concat('a', -0.0) be both 'a0.0' and 'a-0.0'
parent 3a4372d3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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', -0);
--replace_result a-0.0 a0.0
select 'a' union select concat('a', -0.0);

--replace_result a-0.0000 a0.0000
select 'a' union select concat('a', -0.0000);