diff options
author | Vasil Dimov <vasil.dimov@oracle.com> | 2010-10-13 20:18:59 +0300 |
---|---|---|
committer | Vasil Dimov <vasil.dimov@oracle.com> | 2010-10-13 20:18:59 +0300 |
commit | 4c14da79754db219d063bc7fc29b8a3abfa34ba7 (patch) | |
tree | b34c89b9257904b3dc1067f5c31ce5a0753adbd8 /storage/innobase | |
parent | d5055f4e8ad6872f585e1dc57b60d6eb461c9d2f (diff) | |
download | mariadb-git-4c14da79754db219d063bc7fc29b8a3abfa34ba7.tar.gz |
Fix Bug#56143 too many foreign keys causes output of show create table to become invalid
Just remove the check whether the file is "too big".
A similar code exists in ha_innobase::update_table_comment() but that
method does not seem to be used.
Diffstat (limited to 'storage/innobase')
-rw-r--r-- | storage/innobase/handler/ha_innodb.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index cfd4b229ce0..aac0a291223 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -6788,8 +6788,6 @@ ha_innobase::get_foreign_key_create_info(void) flen = ftell(srv_dict_tmpfile); if (flen < 0) { flen = 0; - } else if (flen > 64000 - 1) { - flen = 64000 - 1; } /* allocate buffer for the string, and |