1
0
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:
jani@ua141d10.elisa.omakaista.fi
2006-10-16 19:57:33 +03:00
parent d170f1b124
commit 02f29377fd
22 changed files with 411 additions and 221 deletions

View File

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