Skip to content

Commit 6a7e3ca

Browse files
author
Mats Kindahl
committed
Merging with mysql-5.1-rep+2-delivery1
2 parents 86291b0 + f8c074e commit 6a7e3ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/rpl_record.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ unpack_row(Relay_log_info const *rli,
192192
DBUG_ASSERT(row_data);
193193
DBUG_ASSERT(table);
194194
size_t const master_null_byte_count= (bitmap_bits_set(cols) + 7) / 8;
195+
int error= 0;
195196

196197
uchar const *null_ptr= row_data;
197198
uchar const *pack_ptr= row_data + master_null_byte_count;
@@ -384,7 +385,7 @@ unpack_row(Relay_log_info const *rli,
384385
*master_reclength = table->s->reclength;
385386
}
386387

387-
DBUG_RETURN(0);
388+
DBUG_RETURN(error);
388389
}
389390

390391
/**

0 commit comments

Comments
 (0)