Bug #26238 inserted delayed always inserts 0 for BIT columns
| Submitted: | 9 Feb 2007 21:21 | Modified: | 15 Mar 2007 3:20 |
|---|---|---|---|
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S1 (Critical) |
| Version: | 5.0.36 | OS: | Any (*) |
| Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
| Tags: | bit, insert delayed | ||
[9 Feb 2007 21:21]
Shane Bester
[28 Feb 2007 14:35]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/20780 ChangeSet@1.2418, 2007-02-28 18:34:35+04:00, svoj@mysql.com +3 -0 BUG#26238 - inserted delayed always inserts 0 for BIT columns INSERT DELAYED inserts garbage for BIT columns. When delayed thread clones TABLE object, it didn't adjusted bit_ptr to newly created record (though it correctly adjusts ptr and null_ptr). This is fixed by correctly adjusting bit_ptr when performing a clone. With this fix BIT values are stored correctly by INSERT DELAYED.
[1 Mar 2007 10:48]
Ingo Strüwing
This seems to be (almost) a backport from 5.1. However in 5.1 we use a slightly different method for the same purpose. I approve the patch. But please do a null-merge to 5.1.
[1 Mar 2007 11:20]
Ingo Strüwing
Switched to "In review" for Ramil, btw.
[14 Mar 2007 8:55]
Sergey Vojtovich
Fixed in 5.0.38, 5.1.17.
[15 Mar 2007 3:20]
Paul DuBois
Noted in 5.0.38, 5.1.17 changelogs.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 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.