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

@@ -1437,6 +1437,8 @@ bool lock_db_routines(THD *thd, char *db)
uchar keybuf[MAX_KEY_LENGTH];
DBUG_ENTER("lock_db_routines");
DBUG_ASSERT(ok_for_lower_case_names(db));
/*
mysql.proc will be re-opened during deletion, so we can ignore
errors when opening the table here. The error handler is