mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix compiler warning
This commit is contained in:
parent
833a5e2daa
commit
3004081129
1 changed files with 1 additions and 1 deletions
|
@ -1416,7 +1416,7 @@ bool multi_update::send_data(List<Item> ¬_used_values)
|
|||
memcpy((char*) tmp_table->field[0]->ptr,
|
||||
(char*) table->file->ref, table->file->ref_length);
|
||||
/* Write row, ignoring duplicated updates to a row */
|
||||
if (error= tmp_table->file->ha_write_row(tmp_table->record[0]))
|
||||
if ((error= tmp_table->file->ha_write_row(tmp_table->record[0])))
|
||||
{
|
||||
if (error != HA_ERR_FOUND_DUPP_KEY &&
|
||||
error != HA_ERR_FOUND_DUPP_UNIQUE &&
|
||||
|
|
Loading…
Reference in a new issue