Skip to content

Commit f8c074e

Browse files
author
Mats Kindahl
committed
Replacing error variable that was lost.
1 parent a3c4467 commit f8c074e

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
@@ -191,6 +191,7 @@ unpack_row(Relay_log_info const *rli,
191191
DBUG_ASSERT(row_data);
192192
DBUG_ASSERT(table);
193193
size_t const master_null_byte_count= (bitmap_bits_set(cols) + 7) / 8;
194+
int error= 0;
194195

195196
uchar const *null_ptr= row_data;
196197
uchar const *pack_ptr= row_data + master_null_byte_count;
@@ -356,7 +357,7 @@ unpack_row(Relay_log_info const *rli,
356357
*master_reclength = table->s->reclength;
357358
}
358359

359-
DBUG_RETURN(0);
360+
DBUG_RETURN(error);
360361
}
361362

362363
/**

0 commit comments

Comments
 (0)