1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Remove not needed calls to print_error

This commit is contained in:
Michael Widenius
2018-04-11 03:18:03 +03:00
parent ddc5764303
commit 3bae6a2b98
3 changed files with 5 additions and 16 deletions

View File

@ -4107,11 +4107,8 @@ bool verify_data_with_partition(TABLE *table, TABLE *part_table,
old_rec= part_table->record[0];
part_table->record[0]= table->record[0];
part_info->table->move_fields(part_info->full_part_field_array, table->record[0], old_rec);
if ((error= file->ha_rnd_init(TRUE)))
{
file->print_error(error, MYF(0));
if (unlikely(error= file->ha_rnd_init_with_error(TRUE)))
goto err;
}
do
{