summaryrefslogtreecommitdiff
path: root/sql/ha_myisammrg.h
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-06-25 01:29:30 +0400
committerunknown <konstantin@mysql.com>2004-06-25 01:29:30 +0400
commit7c5b6ec3ba2aa822f28184703872afb40f00f788 (patch)
treef5e6c06992ca42e0887888227e396a434f548077 /sql/ha_myisammrg.h
parent530d46f4e3ca688301623eefbc01401c676dc79c (diff)
downloadmariadb-git-7c5b6ec3ba2aa822f28184703872afb40f00f788.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/ha_myisammrg.h')
-rw-r--r--sql/ha_myisammrg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_myisammrg.h b/sql/ha_myisammrg.h
index 9a6b2a7ee14..9a663db148c 100644
--- a/sql/ha_myisammrg.h
+++ b/sql/ha_myisammrg.h
@@ -46,7 +46,7 @@ class ha_myisammrg: public handler
}
uint max_supported_keys() const { return MI_MAX_KEY; }
uint max_supported_key_length() const { return MI_MAX_KEY_LENGTH; }
- uint max_supported_key_part_length() { return MI_MAX_KEY_LENGTH; }
+ uint max_supported_key_part_length() const { return MI_MAX_KEY_LENGTH; }
double scan_time()
{ return ulonglong2double(data_file_length) / IO_SIZE + file->tables; }