Bug #14262 SP: DROP PROCEDURE|VIEW (maybe more) write to binlog too late (race cond)

- Rmove duplicate code to log a "DROP VIEW..", must be a merge miss 
parent 75517b89
......@@ -1418,13 +1418,6 @@ bool mysql_drop_view(THD *thd, TABLE_LIST *views, enum_drop_mode drop_mode)
sp_cache_invalidate();
}
if (mysql_bin_log.is_open())
{
thd->clear_error();
thd->binlog_query(THD::MYSQL_QUERY_TYPE,
thd->query, thd->query_length, FALSE, FALSE);
}
if (error)
{
VOID(pthread_mutex_unlock(&LOCK_open));
......
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