diff options
author | unknown <heikki@hundin.mysql.fi> | 2004-04-24 20:40:47 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2004-04-24 20:40:47 +0300 |
commit | f096bee636b2a87adbaf3ce13dd044f182c890eb (patch) | |
tree | 0ed723bf2d207c4ddf623cd30eb882707cc505ab /sql/ha_innodb.h | |
parent | 45c7ee3b8fdb3282e4c0873c569efbd2f82d3180 (diff) | |
download | mariadb-git-f096bee636b2a87adbaf3ce13dd044f182c890eb.tar.gz |
ha_innodb.h:
Allow a key path length in InnoDB to be up to 3500 bytes; this is needed so that one can create an index on a column with 255 UTF-8 characters
sql/ha_innodb.h:
Allow a key path length in InnoDB to be up to 3500 bytes; this is needed so that one can create an index on a column with 255 UTF-8 characters
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r-- | sql/ha_innodb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h index e5f1c66e23a..83a3edc4126 100644 --- a/sql/ha_innodb.h +++ b/sql/ha_innodb.h @@ -123,6 +123,8 @@ class ha_innobase: public handler whose size is > MAX_KEY_LENGTH */ uint max_key_length() const { return((MAX_KEY_LENGTH <= 3500) ? MAX_KEY_LENGTH : 3500);} + uint max_key_part_length() { return((MAX_KEY_LENGTH <= 3500) ? + MAX_KEY_LENGTH : 3500);} const key_map *keys_to_use_for_scanning() { return &key_map_full; } bool has_transactions() { return 1;} |