mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fix test errors like:
-Note 1031 Table storage engine for 't1' doesn't have this option +Note 1031 Table storage engine for 'InnoDB' doesn't have this option They were caused by a change in MariaDB which changed ER_ILLEGAL_HA message text to be like: "Storage engine InnoDB of the table `test`.`t1` doesn't have this option" Some the error calls were changed to pass new parameters, but some were left to be old. Also the error text in errmsg-ut8.txt was not changed.
This commit is contained in:
@ -305,7 +305,8 @@ bool mysql_ha_open(THD *thd, TABLE_LIST *tables, SQL_HANDLER *reopen)
|
||||
/* There can be only one table in '*tables'. */
|
||||
if (! (table->file->ha_table_flags() & HA_CAN_SQL_HANDLER))
|
||||
{
|
||||
my_error(ER_ILLEGAL_HA, MYF(0), tables->alias);
|
||||
my_error(ER_ILLEGAL_HA, MYF(0), table->file->table_type(),
|
||||
table->s->db.str, table->s->table_name.str);
|
||||
goto err;
|
||||
}
|
||||
|
||||
@ -903,7 +904,8 @@ retry:
|
||||
break;
|
||||
}
|
||||
default:
|
||||
my_message(ER_ILLEGAL_HA, ER(ER_ILLEGAL_HA), MYF(0));
|
||||
my_error(ER_ILLEGAL_HA, MYF(0), table->file->table_type(),
|
||||
table->s->db.str, table->s->table_name.str);
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user