summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-04-08 01:50:59 +0300
committermonty@mysql.com <>2004-04-08 01:50:59 +0300
commite94d935221b67fe07ee0a3a9276ad1d37118bdda (patch)
tree1b3035cc7dd1e396fd6d35bd81a7453e35357f2e /sql/opt_range.h
parent70c4eb5838d8cea7ef55226c1b757a12b4a47dec (diff)
downloadmariadb-git-e94d935221b67fe07ee0a3a9276ad1d37118bdda.tar.gz
Cleanup/optimizations of structures and key usage to make it easier to move key-range-search to handler
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 bf10c02c295..4af56393a57 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -35,7 +35,7 @@
typedef struct st_key_part {
- uint16 key,part,part_length;
+ uint16 key,part, store_length, length;
uint8 null_bit;
Field *field;
Field::imagetype image_type;
@@ -68,7 +68,7 @@ class QUICK_RANGE :public Sql_alloc {
class QUICK_SELECT {
public:
- bool next,dont_free;
+ bool next,dont_free,sorted;
int error;
uint index, max_used_key_length, used_key_parts;
TABLE *head;