diff options
author | unknown <serg@serg.mysql.com> | 2001-05-24 13:14:25 +0200 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-05-24 13:14:25 +0200 |
commit | 1c8902e4ef6e57b648fcd9978bc1e20e917df40b (patch) | |
tree | 10377fbee77e1cf260ad739e99d78ff27c26e8d4 /sql/ha_myisam.h | |
parent | 83e3058c3e6ebd1ec2ffa03854eaf1388bb4c484 (diff) | |
download | mariadb-git-1c8902e4ef6e57b648fcd9978bc1e20e917df40b.tar.gz |
ALTER TABLE ... DISABLE/ENABLE KEYS, code cleanup
myisam/ft_boolean_search.c:
qsort_cmp -> qsort_cmp2
myisam/mi_extra.c:
ALTER TABLE ... ENABLE/DISABLE KEYS
mi_extra(HA_EXTRA_NO_KEYS) disables only only non-unique keys
myisam/myisamlog.c:
qsort_cmp -> qsort_cmp2
sql/ha_myisam.cc:
ALTER TABLE ENABLE/DISABLE KEYS
deactivate_non_unique_index(HA_POS_ERROR) to force deactivation
sql/ha_myisam.h:
ALTER TABLE ... DISABLE/ENABLE KEYS
sql/sql_table.cc:
ALTER TABLE ... DISABLE/ENABLE KEYS
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 6451e2b80ee..21b7e5bbd39 100644 --- a/sql/ha_myisam.h +++ b/sql/ha_myisam.h @@ -37,11 +37,11 @@ extern ulong myisam_recover_options; class ha_myisam: public handler { MI_INFO *file; - uint int_option_flag; + uint int_option_flag,enable_activate_all_index; int repair(THD *thd, MI_CHECK ¶m, bool optimize); public: - ha_myisam(TABLE *table): handler(table), file(0), + ha_myisam(TABLE *table): handler(table), file(0),enable_activate_all_index(1), int_option_flag(HA_READ_NEXT | HA_READ_PREV | HA_READ_RND_SAME | HA_KEYPOS_TO_RNDPOS | HA_READ_ORDER | HA_LASTKEY_ORDER | HA_HAVE_KEY_READ_ONLY | HA_READ_NOT_EXACT_KEY | |