Bug #12065 | Wrong values for Inserts and updates | ||
---|---|---|---|
Submitted: | 20 Jul 2005 16:16 | Modified: | 22 Aug 2005 14:07 |
Reporter: | Gene Black | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Query Browser | Severity: | S1 (Critical) |
Version: | 1.1.13 | OS: | Windows (Windows XP Pro SP2) |
Assigned to: | Vladimir Kolesnikov | CPU Architecture: | Any |
[20 Jul 2005 16:16]
Gene Black
[21 Jul 2005 9:48]
MySQL Verification Team
Hello Gene, Thank you for the report, but we really need repeatable test case to fix this problem. Can you reproduce the same behavior on the test table for example? If so, please write the full set of actions that causes duplicate values.
[22 Jul 2005 15:11]
Gene Black
After further testing, the problem appears to be version 1.1.13 in general. I can produce the problem by: 1. Double click on a table name to auto generate the select. 2. Click execute to execute the select. 3. Click edit to edit the table. 4. Pick any cell in the table (as far as I can tell, my most popular choice was a decimal(9,2) field) and modify it (I typically set it to 1). 5. Click Apply changes. 6. Query Browser then submits the update query to the server. The update query appears to be correct except for the value of the field being updated. The value appears to be set to random trash. Here's an example: UPDATE `Billing`.`lservice` SET `price`=Àò WHERE `service_id`=119 Following these steps will repeat the problem 100% of the time. In trying to discover the cause I reverted back to version 1.1.10. Everything works fine in 1.1.10. Upgrading to 1.1.13 will bring the problem back 100% of the time. Uninstalling (through Add and Remove Programs) 1.1.10 and then installing 1.1.13 will yield the same results. I've tried some other things as well, but in a nutshell, I am unable to find a scenario in which version 1.1.13 works. I'm surprised no one else has reported this yet. I downloaded 1.1.13 four different times from different servers and did a binary file compare - no differences were found. I'm running Windows XP Pro SP2 with the latest updates installed. What additional info can I provide to help track this down?
[22 Jul 2005 20:56]
Jorge del Conde
Hi! I was able to reproduce this bug using the provided test-case. Thanks for your bug report.
[22 Aug 2005 14:07]
Vladimir Kolesnikov
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