mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge with MySQL 5.5.27
manually checked every change, reverted incorrect or stupid changes.
This commit is contained in:
@ -368,8 +368,14 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
/*
|
||||
Don't try unlocking the row if skip_record reported an error since in
|
||||
this case the transaction might have been rolled back already.
|
||||
*/
|
||||
else if (!thd->is_error())
|
||||
table->file->unlock_row(); // Row failed selection, release lock on it
|
||||
else
|
||||
break;
|
||||
}
|
||||
killed_status= thd->killed;
|
||||
if (killed_status != NOT_KILLED || thd->is_error())
|
||||
|
Reference in New Issue
Block a user