mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
ha_innodb.h:
Revert the previous patch: MySQL would not allow creation of VARCHAR columns whose total max length is > 8000 bytes, though InnoDB can easily store them as trailing spaces are removed sql/ha_innodb.h: Revert the previous patch: MySQL would not allow creation of VARCHAR columns whose total max length is > 8000 bytes, though InnoDB can easily store them as trailing spaces are removed
This commit is contained in:
parent
666d4717cb
commit
66672ad185
1 changed files with 1 additions and 3 deletions
|
|
@ -111,9 +111,7 @@ class ha_innobase: public handler
|
|||
return (HA_READ_NEXT | HA_READ_PREV | HA_READ_ORDER |
|
||||
HA_KEY_READ_ONLY);
|
||||
}
|
||||
/* max_record_.. should be slightly less
|
||||
than 1/2 UNIV_PAGE_SIZE */
|
||||
uint max_record_length() const { return 8000; }
|
||||
uint max_record_length() const { return HA_MAX_REC_LENGTH; }
|
||||
uint max_keys() const { return MAX_KEY; }
|
||||
uint max_key_parts() const { return MAX_REF_PARTS; }
|
||||
/* An InnoDB page must store >= 2 keys;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue