summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 2ef20268e14..b53d6332eb6 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -2342,7 +2342,7 @@ void Query_cache::invalidate(THD *thd, const char *db)
if (is_disabled())
DBUG_VOID_RETURN;
- DBUG_ASSERT(ok_for_lower_case_names(db));
+ DBUG_SLOW_ASSERT(ok_for_lower_case_names(db));
bool restart= FALSE;
/*