Fix manual merge.
This commit is contained in:
parent
44d814f58c
commit
e57679c204
@ -129,9 +129,9 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
|
|||||||
*/
|
*/
|
||||||
if (!using_limit && const_cond_result &&
|
if (!using_limit && const_cond_result &&
|
||||||
!(specialflag & (SPECIAL_NO_NEW_FUNC | SPECIAL_SAFE_MODE)) &&
|
!(specialflag & (SPECIAL_NO_NEW_FUNC | SPECIAL_SAFE_MODE)) &&
|
||||||
!triggers_applicable &&
|
!(triggers_applicable &&
|
||||||
!thd->current_stmt_binlog_row_based &&
|
thd->current_stmt_binlog_row_based &&
|
||||||
!table->triggers->has_delete_triggers())
|
table->triggers->has_delete_triggers()))
|
||||||
{
|
{
|
||||||
/* Update the table->file->stats.records number */
|
/* Update the table->file->stats.records number */
|
||||||
table->file->info(HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK);
|
table->file->info(HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user