We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c8246 commit c75ba2cCopy full SHA for c75ba2c
sql/auth/sql_auth_cache.cc
@@ -3420,10 +3420,9 @@ bool Acl_cache_lock_guard::lock(bool raise_error) /* = true */
3420
!m_thd->mdl_context.acquire_lock(&lock_request, ACL_CACHE_LOCK_TIMEOUT);
3421
m_thd->pop_internal_handler();
3422
3423
- if (!m_locked && raise_error) {
+ if (!m_locked && raise_error)
3424
my_error(ER_CANNOT_LOCK_USER_MANAGEMENT_CACHES, MYF(0));
3425
- DBUG_ASSERT(false);
3426
- }
+
3427
return m_locked;
3428
}
3429
0 commit comments