mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
check_db_name know takes LEX_STRING*
This commit is contained in:
@ -4435,7 +4435,7 @@ end_with_restore_list:
|
||||
Verify that the database name is allowed, optionally
|
||||
lowercase it.
|
||||
*/
|
||||
if (check_db_name(lex->sphead->m_db.str))
|
||||
if (check_db_name(&lex->sphead->m_db))
|
||||
{
|
||||
my_error(ER_WRONG_DB_NAME, MYF(0), lex->sphead->m_db.str);
|
||||
delete lex->sphead;
|
||||
|
Reference in New Issue
Block a user