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

@ -37,6 +37,7 @@ class THD;
class MDL_context;
class MDL_lock;
class MDL_ticket;
bool ok_for_lower_case_names(const char *name);
/**
@def ENTER_COND(C, M, S, O)
@ -350,6 +351,7 @@ public:
NAME_LEN) - m_ptr + 1);
m_hash_value= my_hash_sort(&my_charset_bin, (uchar*) m_ptr + 1,
m_length - 1);
DBUG_ASSERT(ok_for_lower_case_names(db));
}
void mdl_key_init(const MDL_key *rhs)
{