mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
unpack_row+binlog_cache_data: fix unused variable
This commit is contained in:
parent
9599cbc28d
commit
dccce98388
2 changed files with 4 additions and 2 deletions
|
@ -237,7 +237,8 @@ private:
|
|||
delete pending();
|
||||
set_pending(0);
|
||||
}
|
||||
my_bool res= reinit_io_cache(&cache_log, WRITE_CACHE, pos, 0, reset_cache);
|
||||
IF_DBUG(my_bool res=,)
|
||||
reinit_io_cache(&cache_log, WRITE_CACHE, pos, 0, reset_cache);
|
||||
DBUG_ASSERT(res == 0);
|
||||
cache_log.end_of_file= saved_max_binlog_cache_size;
|
||||
}
|
||||
|
|
|
@ -439,7 +439,8 @@ int unpack_row(const rpl_group_info *rgi, TABLE *table, uint const colcnt,
|
|||
{
|
||||
DBUG_ASSERT(bitmap_is_set(cols, i));
|
||||
Field *f= conv_table->field[i];
|
||||
bool result= unpack_field(tabledef, f, &st, i);
|
||||
IF_DBUG(bool result=,)
|
||||
unpack_field(tabledef, f, &st, i);
|
||||
DBUG_ASSERT(result);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue