Commit d80e7ce4 authored by unknown's avatar unknown

Fix manual merge.

parent d958f298
......@@ -129,9 +129,9 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
*/
if (!using_limit && const_cond_result &&
!(specialflag & (SPECIAL_NO_NEW_FUNC | SPECIAL_SAFE_MODE)) &&
!triggers_applicable &&
!thd->current_stmt_binlog_row_based &&
!table->triggers->has_delete_triggers())
!(triggers_applicable &&
thd->current_stmt_binlog_row_based &&
table->triggers->has_delete_triggers()))
{
/* Update the table->file->stats.records number */
table->file->info(HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK);
......
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