1
0
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:
msvensson@neptunus.(none)
2006-11-30 09:13:09 +01:00
parent b5603af7d5
commit b9d696099a

View File

@ -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;