mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 03:35:34 +02:00
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
This commit is contained in:
parent
5dc1e4b98a
commit
a29adff6b8
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue