summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2006-01-04 11:16:34 +0300
committerunknown <sergefp@mysql.com>2006-01-04 11:16:34 +0300
commit300408112992c21e0ff0f46fc098c8bf4f30662d (patch)
treef4695e99ad01d2063e8b85c744e894f5b53622f9 /sql/sql_update.cc
parent833a5e2daa65069d0866fc4783052ed7a777e782 (diff)
downloadmariadb-git-300408112992c21e0ff0f46fc098c8bf4f30662d.tar.gz
Fix compiler warning
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc2
1 files changed, 1 insertions, 1 deletions
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<Item> &not_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 &&