Bug #77135 | Update on varchar and text columns produce incorrect results | ||
---|---|---|---|
Submitted: | 22 May 2015 16:48 | Modified: | 19 Jul 2015 21:19 |
Reporter: | Chris Sims | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S3 (Non-critical) |
Version: | 5.6.21-70.1 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[22 May 2015 16:48]
Chris Sims
[25 May 2015 15:08]
MySQL Verification Team
This is fully tested and verified. The correct results should have been: "inject", "start trail"
[19 Jul 2015 21:19]
Paul DuBois
Noted in 5.5.46, 5.6.27, 5.7.9, 5.8.0 changelogs. Updating VARCHAR and TEXT columns in the same UPDATE statement could produce incorrect results. When a VARCHAR column was assigned to a TEXT column and the VARCHAR column was then set to a different value, the TEXT column's result contained the VARCHAR column's new value.