1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

sql_update.cc:

After merge fix
This commit is contained in:
evgen@moonbone.local
2005-11-01 20:53:27 +03:00
parent bbe58c7e26
commit 6d3bd1e0ee

View File

@ -237,9 +237,8 @@ int mysql_update(THD *thd,
}
// Don't count on usage of 'only index' when calculating which key to use
table->used_keys.clear_all();
select= make_select(table, 0, 0, conds, 0, &error);
if (limit)
select=make_select(table,0,0,conds,&error);
select= make_select(table, 0, 0, conds, 0, &error);
if (error || !limit ||
(select && select->check_quick(thd, safe_update, limit)))
{