From 4ce44da3d5351b29e8dd0ed65bf49faeac21254b Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 26 Oct 2007 11:43:05 +0200 Subject: [PATCH] correct unused code --- 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 cb3f2fece89..7673126314f 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -679,7 +679,7 @@ int mysql_update(THD *thd, */ if (will_batch && ((error= table->file->exec_bulk_update(&dup_key_found)) || - !dup_key_found)) + dup_key_found)) { if (error) {