Commit c6be6653 authored by unknown's avatar unknown

Remove bogus lines

parent 4f9a0a06
...@@ -554,13 +554,6 @@ int mysql_multi_update(THD *thd, ...@@ -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, if (!(result=new multi_update(thd, table_list, fields, values,
handle_duplicates))) handle_duplicates)))
DBUG_RETURN(-1); DBUG_RETURN(-1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment