summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorVarun Gupta <varun.gupta@mariadb.com>2020-04-26 15:42:57 +0530
committerVarun Gupta <varun.gupta@mariadb.com>2020-05-06 17:19:58 +0530
commit4539d3ea77fc5fde63f515a97bc679afd7b614c7 (patch)
tree4d3381ab3e1330af957b66541adccd388d8d0b73 /sql/structs.h
parent8ad3c6154b90314980faf1cdd4c317c9bbf5f84c (diff)
downloadmariadb-git-bb-10.5-mdev7317.tar.gz
MDEV-7317: Make an index ignorable to the optimizerbb-10.5-mdev7317
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/structs.h b/sql/structs.h
index 0993c453e16..eb45a3ace1f 100644
--- a/sql/structs.h
+++ b/sql/structs.h
@@ -165,6 +165,10 @@ typedef struct st_key {
double actual_rec_per_key(uint i);
bool without_overlaps;
+ /*
+ TRUE if index needs to be ignored
+ */
+ bool is_ignored;
} KEY;