Skip to content

Commit

Permalink
Remove an unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Mar 21, 2019
1 parent 5a780f2 commit 482710b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sql/sql_delete.cc
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
DBUG_RETURN(true);
}

TABLE *table= table_list->table;
DBUG_ASSERT(table);
DBUG_ASSERT(table_list->table);

DBUG_ASSERT(!conds || thd->stmt_arena->is_stmt_execute());

Expand Down

0 comments on commit 482710b

Please sign in to comment.