1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Asserting correct database name lettercase in

various places in the code.
This commit is contained in:
Sergei Golubchik
2014-05-01 14:06:48 +02:00
parent 5b6c75ca4d
commit d81b662b8c
8 changed files with 31 additions and 0 deletions

View File

@ -2306,6 +2306,8 @@ void Query_cache::invalidate(THD *thd, char *db)
if (is_disabled())
DBUG_VOID_RETURN;
DBUG_ASSERT(ok_for_lower_case_names(db));
bool restart= FALSE;
/*
Lock the query cache and queue all invalidation attempts to avoid