diff options
author | monty@tik.mysql.fi <> | 2002-04-12 21:35:46 +0300 |
---|---|---|
committer | monty@tik.mysql.fi <> | 2002-04-12 21:35:46 +0300 |
commit | 056175a1ceb182828fb0fb7e40feac10f09ff3a0 (patch) | |
tree | 0060cbed8a1f7a8adaca0a4dc2e74b3372e28361 /sql/sql_handler.cc | |
parent | e857f561fd2fc2e544cba9508884c539ee789b05 (diff) | |
download | mariadb-git-056175a1ceb182828fb0fb7e40feac10f09ff3a0.tar.gz |
Update for BTREE keys in HEAP tables
Split handler->option_flag() to handler->table_flags() and handler->index_flags()
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r-- | sql/sql_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index 8f9d3474ce2..f1dc5599f46 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -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); |