Bug #13418 | row based replication replication of bit and NULL cause core or wrong values | ||
---|---|---|---|
Submitted: | 23 Sep 2005 4:48 | Modified: | 27 Feb 2006 19:38 |
Reporter: | Tomas Ulin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.1-wl2325, 5.0-wl1012? | OS: | |
Assigned to: | Lars Thalmann | CPU Architecture: | Any |
[23 Sep 2005 4:48]
Tomas Ulin
[23 Sep 2005 11:36]
Jonathan Miller
First test for me produced: 050923 14:32:09 [ERROR] Slave: Error in Update_rows event: row application failed, Error_code: 137 050923 14:32:09 [ERROR] Slave: Error in Update_rows event: error during transaction execution on table test.t2, Error_code: 137 Second test showed what Tomas had: + SELECT * FROM test.t3; + a b + 1 NULL + 2 0 + SELECT * FROM test.t3; + a b + 2 0 + 1 0 Have been added to rpl_bit_npk.test and had been disabled in disabled.def and pushed into the clone.
[24 Feb 2006 12:15]
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/3102
[24 Feb 2006 14:38]
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/3112
[27 Feb 2006 17:10]
Lars Thalmann
This has been pushed into 5.1.7. The fix is in two parts: 1. The Field_bit object did not have a correct comparison method which can potentially lead to wrong results (also in other areas than RBR, but we have not, as far as I know, seen any bugs resulting from this). 2. The comparision for RBR did not work for bit fields and NULL values . This has been corrected by fixing the RBR compare function. Part 1 should also be pushed into 5.0 and this report can be closed when that has happened.
[27 Feb 2006 17:34]
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/3206
[27 Feb 2006 19:29]
Lars Thalmann
Fix 1 has been pushed to 5.0.19.
[27 Feb 2006 19:38]
Mike Hillyer
Documented in 5.0.19 changelogs: <listitem> <para> <literal>BIT</literal> fields were not properly handled when using row-based replication. (Bug #13418) </para> </listitem>
[28 Feb 2006 0:35]
Paul DuBois
Noted in 5.1.7 changelog as well.