From c1f1732f376c53431e9f55976df4f314978e1d77 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 30 Dec 2004 14:56:31 +0300 Subject: [PATCH] Fix func_concat.result: allow -0.00 to be converted to string both with and without leading minus --- mysql-test/r/func_concat.result | 6 +----- mysql-test/t/func_concat.test | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/mysql-test/r/func_concat.result b/mysql-test/r/func_concat.result index 0bd53b32dd7..cf6fbf2da4f 100644 --- a/mysql-test/r/func_concat.result +++ b/mysql-test/r/func_concat.result @@ -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 diff --git a/mysql-test/t/func_concat.test b/mysql-test/t/func_concat.test index 78818cdda4e..b94901e9966 100644 --- a/mysql-test/t/func_concat.test +++ b/mysql-test/t/func_concat.test @@ -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); -