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

@@ -596,6 +596,8 @@ Events::drop_schema_events(THD *thd, char *db)
DBUG_ENTER("Events::drop_schema_events");
DBUG_PRINT("enter", ("dropping events from %s", db));
DBUG_ASSERT(ok_for_lower_case_names(db));
/*
Sic: no check if the scheduler is disabled or system tables
are damaged, as intended.