3597 Marko Mäkelä 2011-11-08
Replace void pointer arithmetics with byte pointer arithmetics.
modified:
storage/innobase/ibuf/ibuf0ibuf.c
3596 Marko M5.5.
modified:
storage/innobase/handler/ha_innodb.cc
=== modified file 'storage/innobase/ibuf/ibuf0ibuf.c'
--- a/storage/innobase/ibuf/ibuf0ibuf.c revid:marko.makela@stripped
+++ b/storage/innobase/ibuf/ibuf0ibuf.c revid:marko.makela@oracle.com-20111108065452-9o605k3r6xm59s04
@@ -3551,8 +3551,8 @@ bitmap_fail:
field = dtuple_get_nth_field(
ibuf_entry, IBUF_REC_FIELD_METADATA);
mach_write_to_2(
- dfield_get_data(field) + IBUF_REC_OFFSET_COUNTER,
- counter);
+ (byte*) dfield_get_data(field)
+ + IBUF_REC_OFFSET_COUNTER, counter);
}
/* Set the bitmap bit denoting that the insert buffer contains
No bundle (reason: useless for push emails).| Thread |
|---|
| • bzr push into mysql-5.5 branch (marko.makela:3596 to 3597) | marko.makela | 11 Nov |