diff options
author | unknown <sergefp@mysql.com> | 2004-12-30 14:56:31 +0300 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2004-12-30 14:56:31 +0300 |
commit | c1f1732f376c53431e9f55976df4f314978e1d77 (patch) | |
tree | 5e9e10e3cc842a6895a0f750c41c84c635d57224 | |
parent | 49501611aa534efcd18d3ee3bf94ec1ba13aa6f2 (diff) | |
download | mariadb-git-c1f1732f376c53431e9f55976df4f314978e1d77.tar.gz |
Fix func_concat.result: allow -0.00 to be converted to string both with and without leading minus
-rw-r--r-- | mysql-test/r/func_concat.result | 6 | ||||
-rw-r--r-- | 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); -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); |