[MDEV-22087] Increase buffer size for query in SHOW ENGINE INNODB STATUS output Created: 2020-03-31 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2.31, 10.3.22, 10.4.12 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
In SHOW ENGINE INNODB STATUS output or in the output of the lock monitor, the query text and other basic information about the session seems to get copied to a buffer that is only 1024 bytes large. See here: https://github.com/MariaDB/server/blob/mariadb-10.2.31/storage/innobase/handler/ha_innodb.cc#L2155 This means that even moderately long queries can be truncated. Maybe we should increase the size of this buffer. |