summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorunknown <antony@ltantony.rdg.cyberkinetica.homeunix.net>2004-12-18 02:34:11 +0000
committerunknown <antony@ltantony.rdg.cyberkinetica.homeunix.net>2004-12-18 02:34:11 +0000
commitc6be66530a1391c88b250c6212fb8a26084778c8 (patch)
tree421589ff81502970411cf6745690bfcd36852700 /sql/sql_update.cc
parent4f9a0a06a8d60d68022fb813b59df8aacd5e4460 (diff)
downloadmariadb-git-c6be66530a1391c88b250c6212fb8a26084778c8.tar.gz
Remove bogus lines
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index f7355f2e9b6..4f7e34ec74f 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -554,13 +554,6 @@ int mysql_multi_update(THD *thd,
}
}
- /*
- If we have no WHERE clause, make it true otherwise the Select
- examines the privileges
- */
- if (!conds)
- conds= new Item_int("1", 1LL, 1);
-
if (!(result=new multi_update(thd, table_list, fields, values,
handle_duplicates)))
DBUG_RETURN(-1);