summaryrefslogtreecommitdiff
path: root/sql/ha_innobase.h
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-12-23 13:06:48 +0200
committerunknown <heikki@donna.mysql.fi>2001-12-23 13:06:48 +0200
commitc428e8073efa69b6cd9f6c3d11c2d1d791ac5836 (patch)
tree531059e35bd8c7bb79e60b3bcde0374f502b5115 /sql/ha_innobase.h
parent5a75207c129cbe38b562aa01c48cda0018ed1b92 (diff)
downloadmariadb-git-c428e8073efa69b6cd9f6c3d11c2d1d791ac5836.tar.gz
ha_innobase.cc:
Increase table comment print size to 500 bytes to be able to print more foreign key constraint infos ha_innobase.h: Change max key len back to 500 bytes because MySQL interpreter cannot handle more sql/ha_innobase.h: Change max key len back to 500 bytes because MySQL interpreter cannot handle more sql/ha_innobase.cc: Increase table comment print size to 500 bytes to be able to print more foreign key constraint infos
Diffstat (limited to 'sql/ha_innobase.h')
-rw-r--r--sql/ha_innobase.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/ha_innobase.h b/sql/ha_innobase.h
index 84698a9114b..3f4bd5144eb 100644
--- a/sql/ha_innobase.h
+++ b/sql/ha_innobase.h
@@ -100,8 +100,11 @@ class ha_innobase: public handler
a secondary key record must also contain the
primary key value:
max key length is therefore set to slightly
- less than 1 / 4 of page size which is 16 kB */
- uint max_key_length() const { return 3500; }
+ less than 1 / 4 of page size which is 16 kB;
+ but currently MySQL does not work with keys
+ whose size is > MAX_KEY_LENGTH */
+ uint max_key_length() const { return((MAX_KEY_LENGTH <= 3500) ?
+ MAX_KEY_LENGTH : 3500);}
bool fast_key_read() { return 1;}
key_map keys_to_use_for_scanning() { return ~(key_map) 0; }
bool has_transactions() { return 1;}