summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.h
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-04-24 20:40:47 +0300
committerunknown <heikki@hundin.mysql.fi>2004-04-24 20:40:47 +0300
commitf096bee636b2a87adbaf3ce13dd044f182c890eb (patch)
tree0ed723bf2d207c4ddf623cd30eb882707cc505ab /sql/ha_innodb.h
parent45c7ee3b8fdb3282e4c0873c569efbd2f82d3180 (diff)
downloadmariadb-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.h2
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;}