From 300408112992c21e0ff0f46fc098c8bf4f30662d Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 4 Jan 2006 11:16:34 +0300 Subject: [PATCH] Fix compiler warning --- sql/sql_update.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_update.cc b/sql/sql_update.cc index bd001cd9a06..9f14736cf54 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -1416,7 +1416,7 @@ bool multi_update::send_data(List ¬_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 &&