diff options
author | Varun Gupta <varun.gupta@mariadb.com> | 2020-04-26 15:42:57 +0530 |
---|---|---|
committer | Varun Gupta <varun.gupta@mariadb.com> | 2020-05-06 17:19:58 +0530 |
commit | 4539d3ea77fc5fde63f515a97bc679afd7b614c7 (patch) | |
tree | 4d3381ab3e1330af957b66541adccd388d8d0b73 /sql/sql_alter.h | |
parent | 8ad3c6154b90314980faf1cdd4c317c9bbf5f84c (diff) | |
download | mariadb-git-bb-10.5-mdev7317.tar.gz |
MDEV-7317: Make an index ignorable to the optimizerbb-10.5-mdev7317
Diffstat (limited to 'sql/sql_alter.h')
-rw-r--r-- | sql/sql_alter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_alter.h b/sql/sql_alter.h index 88873477c7c..67c0a8bbd1e 100644 --- a/sql/sql_alter.h +++ b/sql/sql_alter.h @@ -20,6 +20,7 @@ class Alter_drop; class Alter_column; class Alter_rename_key; +class Alter_index_ignorability; class Key; /** @@ -95,6 +96,8 @@ public: List<Alter_rename_key> alter_rename_key_list; // List of columns, used by both CREATE and ALTER TABLE. List<Create_field> create_list; + // Indexes whose ignorability needs to be changed. + List<Alter_index_ignorability> alter_index_ignorability_list; enum flags_bits { @@ -134,6 +137,7 @@ public: key_list.empty(); alter_rename_key_list.empty(); create_list.empty(); + alter_index_ignorability_list.empty(); check_constraint_list.empty(); flags= 0; partition_flags= 0; |