Bug #9145 CONCAT() returns unexpected results joining a fields and fixed strings
| Submitted: | 12 Mar 2005 17:12 | Modified: | 7 Jul 2005 11:10 |
|---|---|---|---|
| Reporter: | Gary Ott | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 4.1.10a-nt | OS: | Windows (WinXP SP1 (sorry, not my choice)) |
| Assigned to: | Petr Chardin | CPU Architecture: | Any |
[12 Mar 2005 17:12]
Gary Ott
[12 Mar 2005 17:28]
Jorge del Conde
Verified using 4.1.11 from bk mysql> Select CONCAT(customers.Title, " ", customers.Forename, " ", customers.Surname) from customers; +--------------------------------------------------------------------------+ | CONCAT(customers.Title, " ", customers.Forename, " ", customers.Surname) | +--------------------------------------------------------------------------+ | Mr I Taylor | | Allan Wilson | | Allan A Jones | | Allan A JonesThomas Tennant | | Mrs Allan A JonesZ Sawyer | | Allan A JonesJ M Terry-short | | Allan A JonesH Ferreira | | Allan A JonesH FerreiraBrett Croucher | | Allan A JonesH FerreiraBrett David Coates | | Mr Allan A JonesH FerreiraBrett P J Dutton | | Allan A JonesH FerreiraBrett Ferat Kivirci | | Allan A JonesH FerreiraBrett H Ferreira | +--------------------------------------------------------------------------+ 12 rows in set (0.01 sec) mysql> select CONCAT(Title, Forename, Surname) from customers; +----------------------------------+ | CONCAT(Title, Forename, Surname) | +----------------------------------+ | MrITaylor | | AllanWilson | | AJones | | ThomasTennant | | MrsZSawyer | | J MTerry-short | | HFerreira | | BrettCroucher | | DavidCoates | | MrP JDutton | | FeratKivirci | | HFerreira | +----------------------------------+ 12 rows in set (0.00 sec)
[7 Jul 2005 11:10]
Petr Chardin
Attempted to verify the bug with 1) 4.1.12a from mysql.com (windows binary) 2) 4.1.13 from bk (suse linux) 3) 4.1.13 from bk (WinXP). No success.
[23 Jan 2006 12:29]
Emil Obermayr
looks like related to #7874
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.