summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-08-12 17:28:45 +0400
committerAlexander Barkov <bar@mariadb.org>2015-08-12 17:28:45 +0400
commit9d884fd3d3fadd5ad31ecfee915877b98258e546 (patch)
tree717a99115c7d9516dd65c38ef8804edf9cad107c /sql/opt_range.h
parent6e091dc7ff06f9ff0bbe834f6be338f5b695ed81 (diff)
downloadmariadb-git-9d884fd3d3fadd5ad31ecfee915877b98258e546.tar.gz
MDEV-8599 "WHERE varchar_field LIKE temporal_const" does not use range optimizer
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r--sql/opt_range.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h
index c29b09a6359..2f108c1f6b5 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -38,7 +38,7 @@
class JOIN;
class Item_sum;
-typedef struct st_key_part {
+struct KEY_PART {
uint16 key,part;
/* See KEY_PART_INFO for meaning of the next two: */
uint16 store_length, length;
@@ -50,7 +50,7 @@ typedef struct st_key_part {
uint8 flag;
Field *field;
Field::imagetype image_type;
-} KEY_PART;
+};
class Explain_quick_select;
/*