diff options
Diffstat (limited to 'sql/ha_myisam.h')
-rw-r--r-- | sql/ha_myisam.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_myisam.h b/sql/ha_myisam.h index 79036893faf..eb3ac9db7e4 100644 --- a/sql/ha_myisam.h +++ b/sql/ha_myisam.h @@ -43,7 +43,7 @@ class ha_myisam: public handler int repair(THD *thd, MI_CHECK ¶m, bool optimize); public: - ha_myisam(TABLE *table_arg); + ha_myisam(TABLE_SHARE *table_arg); ~ha_myisam() {} const char *table_type() const { return "MyISAM"; } const char *index_type(uint key_number); @@ -51,7 +51,7 @@ class ha_myisam: public handler ulong table_flags() const { return int_table_flags; } ulong index_flags(uint inx, uint part, bool all_parts) const { - return ((table->key_info[inx].algorithm == HA_KEY_ALG_FULLTEXT) ? + return ((table_share->key_info[inx].algorithm == HA_KEY_ALG_FULLTEXT) ? 0 : HA_READ_NEXT | HA_READ_PREV | HA_READ_RANGE | HA_READ_ORDER | HA_KEYREAD_ONLY); } |