1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +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

@@ -860,6 +860,8 @@ bool lock_object_name(THD *thd, MDL_key::enum_mdl_namespace mdl_type,
MDL_request schema_request;
MDL_request mdl_request;
DBUG_ASSERT(ok_for_lower_case_names(db));
if (thd->locked_tables_mode)
{
my_message(ER_LOCK_OR_ACTIVE_TRANSACTION,