diff options
author | Igor Babaev <igor@askmonty.org> | 2012-12-20 10:58:40 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2012-12-20 10:58:40 -0800 |
commit | ca2cdaad86750509764256ff8086e031b4870b24 (patch) | |
tree | bda13b02b556072c72a247b2c6f13f2ec9722ffe /include/maria.h | |
parent | 6c3de76ad5cb8683ab8b049e0bbba670115d304a (diff) | |
download | mariadb-git-ca2cdaad86750509764256ff8086e031b4870b24.tar.gz |
The patch for the task mdev-539.
The patch lifts the limitation of the current implementation
of ALTER TABLE that does not allow to build unique/primary
indexes by sort for MyISAM and Aria engines.
Diffstat (limited to 'include/maria.h')
-rw-r--r-- | include/maria.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/maria.h b/include/maria.h index cb2f92e8a35..cab296246b6 100644 --- a/include/maria.h +++ b/include/maria.h @@ -383,7 +383,8 @@ int maria_recreate_table(HA_CHECK *param, MARIA_HA **org_info, char *filename); int maria_disable_indexes(MARIA_HA *info); int maria_enable_indexes(MARIA_HA *info); int maria_indexes_are_disabled(MARIA_HA *info); -void maria_disable_non_unique_index(MARIA_HA *info, ha_rows rows); +void maria_disable_indexes_for_rebuild(MARIA_HA *info, ha_rows rows, + my_bool all_keys); my_bool maria_test_if_sort_rep(MARIA_HA *info, ha_rows rows, ulonglong key_map, my_bool force); |