summaryrefslogtreecommitdiff
path: root/sql/ha_innobase.cc
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.cc
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.cc')
-rw-r--r--sql/ha_innobase.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc
index dc030dde39a..62c721de13f 100644
--- a/sql/ha_innobase.cc
+++ b/sql/ha_innobase.cc
@@ -3220,7 +3220,7 @@ ha_innobase::update_table_comment(
{
row_prebuilt_t* prebuilt = (row_prebuilt_t*)innobase_prebuilt;
uint length = strlen(comment);
- char* str = my_malloc(length + 200, MYF(0));
+ char* str = my_malloc(length + 550, MYF(0));
char* pos;
if (!str) {
@@ -3239,7 +3239,7 @@ ha_innobase::update_table_comment(
/* We assume 150 bytes of space to print info */
- dict_print_info_on_foreign_keys(pos, 150, prebuilt->table);
+ dict_print_info_on_foreign_keys(pos, 500, prebuilt->table);
return(str);
}