diff options
author | unknown <konstantin@mysql.com> | 2004-06-25 01:29:30 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-06-25 01:29:30 +0400 |
commit | bd875d0fb9212d0f65d2d28c4b62c578d516926f (patch) | |
tree | f5e6c06992ca42e0887888227e396a434f548077 /sql/handler.h | |
parent | 8ba3037996def0d4ee7df1ab73ba644c32d8d784 (diff) | |
download | mariadb-git-bd875d0fb9212d0f65d2d28c4b62c578d516926f.tar.gz |
Followup to cleanup in handler interface.
sql/ha_myisam.h:
- max_supported_key_part_length() is const now
sql/ha_myisammrg.h:
- max_supported_key_part_length() is const now
sql/handler.h:
- max_supported_key_part_length() is const now
- removed warning about wrong order of initializer in handler ocnstructor.
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/handler.h b/sql/handler.h index a9416b1b2c5..8474899b39e 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -256,7 +256,6 @@ public: time_t create_time; /* When table was created */ time_t check_time; time_t update_time; - enum {NONE=0, INDEX, RND} inited; /* The following are for read_range() */ key_range save_end_range, *end_range; @@ -273,6 +272,7 @@ public: uint raid_type,raid_chunks; FT_INFO *ft_handler; bool auto_increment_column_changed; + enum {NONE=0, INDEX, RND} inited; bool implicit_emptied; /* Can be !=0 only if HEAP */ @@ -472,7 +472,7 @@ public: virtual uint max_supported_keys() const { return 0; } virtual uint max_supported_key_parts() const { return MAX_REF_PARTS; } virtual uint max_supported_key_length() const { return MAX_KEY_LENGTH; } - virtual uint max_supported_key_part_length() { return 255; } + virtual uint max_supported_key_part_length() const { return 255; } virtual uint min_record_length(uint options) const { return 1; } virtual bool low_byte_first() const { return 1; } |