summaryrefslogtreecommitdiff
path: root/sql/ha_innobase.cc
diff options
context:
space:
mode:
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 3b6b15d1e79..683e76a19ad 100644
--- a/sql/ha_innobase.cc
+++ b/sql/ha_innobase.cc
@@ -3222,7 +3222,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) {
@@ -3241,7 +3241,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);
}