mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 06:05:32 +02:00
5.3 merge
This commit is contained in:
commit
59408093d1
20 changed files with 139 additions and 77 deletions
|
|
@ -406,7 +406,7 @@ int mysql_update(THD *thd,
|
|||
table->file->info(HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK);
|
||||
|
||||
select= make_select(table, 0, 0, conds, 0, &error);
|
||||
if (error || !limit ||
|
||||
if (error || !limit || thd->is_error() ||
|
||||
(select && select->check_quick(thd, safe_update, limit)))
|
||||
{
|
||||
delete select;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue