mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
5.0-bugteam->5.1-bugteam merge
This commit is contained in:
@ -199,6 +199,14 @@ bool mysql_ha_open(THD *thd, TABLE_LIST *tables, bool reopen)
|
||||
tables->db, tables->table_name, tables->alias,
|
||||
(int) reopen));
|
||||
|
||||
if (tables->schema_table)
|
||||
{
|
||||
my_error(ER_WRONG_USAGE, MYF(0), "HANDLER OPEN",
|
||||
INFORMATION_SCHEMA_NAME.str);
|
||||
DBUG_PRINT("exit",("ERROR"));
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
|
||||
if (! hash_inited(&thd->handler_tables_hash))
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user