mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Changed several char* to LEX_STRING*.
This commit is contained in:
@ -4579,7 +4579,7 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table,
|
||||
my_error(ER_WRONG_TABLE_NAME, MYF(0), src_table);
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
if (!src_db || check_db_name(src_db))
|
||||
if (!src_db || check_db_name(&table_ident->db))
|
||||
{
|
||||
my_error(ER_WRONG_DB_NAME, MYF(0), src_db ? src_db : "NULL");
|
||||
DBUG_RETURN(-1);
|
||||
|
Reference in New Issue
Block a user