summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-07-03 22:48:13 +0300
committerunknown <heikki@hundin.mysql.fi>2003-07-03 22:48:13 +0300
commita29adff6b881576a9a470235f1ad14eaf471c79d (patch)
tree981040b41a88a0f2d7ff18edaae074f81bd1ada2 /sql
parent5dc1e4b98ac6223b9854f26fd689d7e68897e3c9 (diff)
downloadmariadb-git-a29adff6b881576a9a470235f1ad14eaf471c79d.tar.gz
ha_innodb.cc:
Since the mysql interactive client or some other phase in communication cuts > 64 kB strings to very short, restrict the output of SHOW INNODB STATUS to at most 60 kB sql/ha_innodb.cc: Since the mysql interactive client or some other phase in communication cuts > 64 kB strings to very short, restrict the output of SHOW INNODB STATUS to at most 60 kB
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_innodb.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index 8edec984962..9857628ccc8 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -4556,12 +4556,12 @@ innodb_show_status(
innobase_release_stat_resources(trx);
- /* We let the InnoDB Monitor to output at most 200 kB of text, add
- a safety margin of 10 kB for buffer overruns */
+ /* We let the InnoDB Monitor to output at most 60 kB of text, add
+ a safety margin of 100 kB for buffer overruns */
- buf = (char*)ut_malloc(210 * 1024);
+ buf = (char*)ut_malloc(160 * 1024);
- srv_sprintf_innodb_monitor(buf, 200 * 1024);
+ srv_sprintf_innodb_monitor(buf, 60 * 1024);
List<Item> field_list;