summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.h
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2003-07-14 15:53:50 +0300
committerheikki@hundin.mysql.fi <>2003-07-14 15:53:50 +0300
commitcda64baab5de0402ef21e1cd8d063061bee175bf (patch)
tree9b522520d570a1c81bd4417d0001ab029dbe281f /sql/ha_innodb.h
parent79f18d5bb9272f3cce3fb8477c8229d422219c36 (diff)
downloadmariadb-git-cda64baab5de0402ef21e1cd8d063061bee175bf.tar.gz
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
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r--sql/ha_innodb.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h
index 308deb68611..8a51019b18e 100644
--- a/sql/ha_innodb.h
+++ b/sql/ha_innodb.h
@@ -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;