mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Update for BTREE keys in HEAP tables
Split handler->option_flag() to handler->table_flags() and handler->index_flags()
This commit is contained in:
@ -55,7 +55,7 @@ int mysql_ha_open(THD *thd, TABLE_LIST *tables)
|
||||
return -1;
|
||||
|
||||
// there can be only one table in *tables
|
||||
if (!(tables->table->file->option_flag() & HA_CAN_SQL_HANDLER))
|
||||
if (!(tables->table->file->table_flags() & HA_CAN_SQL_HANDLER))
|
||||
{
|
||||
my_printf_error(ER_ILLEGAL_HA,ER(ER_ILLEGAL_HA),MYF(0), tables->name);
|
||||
mysql_ha_close(thd, tables,1);
|
||||
|
Reference in New Issue
Block a user