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 | 39ef383cc4eab1d10604222a3737b3a82a76f358 (patch) | |
tree | 0ed723bf2d207c4ddf623cd30eb882707cc505ab /sql/ha_innodb.h | |
parent | ef20f83ef1c97eaa6fb57a3d6690fad93d083d6f (diff) | |
download | mariadb-git-39ef383cc4eab1d10604222a3737b3a82a76f358.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;} |