Bug #8794 | MySQL-4.1.9 on AIX adds commas to aggregate results of DECIMAL fields | ||
---|---|---|---|
Submitted: | 24 Feb 2005 21:53 | Modified: | 3 Jul 2006 12:52 |
Reporter: | Mark Matthews | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.9 | OS: | IBM AIX (aix) |
Assigned to: | CPU Architecture: | Any |
[24 Feb 2005 21:53]
Mark Matthews
[25 Feb 2005 8:49]
Julien Lafontaine
This problem occured with the following coonfiguration : Server : JDK 1.3.1 (J2RE 1.3.1 IBM AIX build ca1311-20011123a) OS : AIX 4.3.3 MySQL : 4.1.9 Connector/J : 3.0.16 Client : OS : Windows XP SP2 JDK 1.3.1 (build 1.3.1-b24) Test case : CREATE TABLE `DWH_IRC`.`TEST` ( `COL1` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, `COL2` DECIMAL(4,2) NOT NULL, PRIMARY KEY(`COL1`) ) TYPE = InnoDB; mysql> INSERT INTO TEST VALUES (1, 1.2); mysql> SELECT COL2 FROM TEST; +------+ | COL2 | +------+ | 1,20 | +------+ 1 row in set (0,00 sec) mysql> SELECT SUM(COL2) FROM TEST; +-----------+ | SUM(COL2) | +-----------+ | 1,00 | +-----------+ 1 row in set (0,01 sec) Then if I modify the value of COL2 from 1,20 to 1.20 with MySQL query browser, I get the folowing result : mysql> SELECT COL2 FROM TEST; +------+ | COL2 | +------+ | 1.20 | +------+ 1 row in set (0,00 sec) This query is ok, but I still have a problem with the second one : mysql> SELECT SUM(COL2) FROM TEST; +-----------+ | SUM(COL2) | +-----------+ | 1,20 | +-----------+ 1 row in set (0,00 sec)
[28 Mar 2005 17:27]
Jorge del Conde
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html
[3 Aug 2005 7:35]
Julien Lafontaine
In which release of MySQL will this bug fix be incorporated ? I have checked the change log og all the MySQL 4.1 release since 4.1.9 and I couldn't find it.
[4 Oct 2005 13:10]
Dan
Hi all, I have exactly the same problem on all of our AIX servers. Could somebody tell me if the bug was patched and in WHICH VERSION ??? Thank you in advance, Dan
[11 Oct 2005 9:20]
Dan
I've just made the test again, in mysql 4.1.14 (mysql-standard-4.1.14-ibm-aix4.3.3.0-powerpc) and the probles is STILL THERE. Could someone give us a hint on WHEN this announced fix will be availble ? In mars, Jorge del Conde said that the fix was commited into the source tree, and that il would be availble in the "next version".... We are in October, more that 5 versions later and the bug is still there ! I would just like a short answer in order to understand what's hapenning... Many thanks, Dan
[3 Jun 2006 12:52]
Valeriy Kravchuk
Please, try to repeat with a latest version, 4.1.20, and inform about the results.
[3 Jul 2006 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".