Commit f8c074e1 authored by Mats Kindahl's avatar Mats Kindahl

Replacing error variable that was lost.

parent a3c44675
...@@ -191,6 +191,7 @@ unpack_row(Relay_log_info const *rli, ...@@ -191,6 +191,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;
...@@ -356,7 +357,7 @@ unpack_row(Relay_log_info const *rli, ...@@ -356,7 +357,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