Skip to content

Commit c75ba2c

Browse files
harinvadodariadahlerlend
authored andcommitted
Bug#27665515: `FALSE' AT ACL_CACHE_LOCK_GUARD::LOCK IN
AUTH/SQL_AUTH_CACHE.CC Description: Assertion was introduced by mistake as a part of another bug fix. Removed now.
1 parent 43c8246 commit c75ba2c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sql/auth/sql_auth_cache.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3420,10 +3420,9 @@ bool Acl_cache_lock_guard::lock(bool raise_error) /* = true */
34203420
!m_thd->mdl_context.acquire_lock(&lock_request, ACL_CACHE_LOCK_TIMEOUT);
34213421
m_thd->pop_internal_handler();
34223422

3423-
if (!m_locked && raise_error) {
3423+
if (!m_locked && raise_error)
34243424
my_error(ER_CANNOT_LOCK_USER_MANAGEMENT_CACHES, MYF(0));
3425-
DBUG_ASSERT(false);
3426-
}
3425+
34273426
return m_locked;
34283427
}
34293428

0 commit comments

Comments
 (0)