Commit 6a7e3ca5 authored by Mats Kindahl's avatar Mats Kindahl

Merging with mysql-5.1-rep+2-delivery1

parents 86291b04 f8c074e1
...@@ -192,6 +192,7 @@ unpack_row(Relay_log_info const *rli, ...@@ -192,6 +192,7 @@ unpack_row(Relay_log_info const *rli,
DBUG_ASSERT(row_data); DBUG_ASSERT(row_data);
DBUG_ASSERT(table); DBUG_ASSERT(table);
size_t const master_null_byte_count= (bitmap_bits_set(cols) + 7) / 8; size_t const master_null_byte_count= (bitmap_bits_set(cols) + 7) / 8;
int error= 0;
uchar const *null_ptr= row_data; uchar const *null_ptr= row_data;
uchar const *pack_ptr= row_data + master_null_byte_count; uchar const *pack_ptr= row_data + master_null_byte_count;
...@@ -384,7 +385,7 @@ unpack_row(Relay_log_info const *rli, ...@@ -384,7 +385,7 @@ unpack_row(Relay_log_info const *rli,
*master_reclength = table->s->reclength; *master_reclength = table->s->reclength;
} }
DBUG_RETURN(0); DBUG_RETURN(error);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment