[MDEV-28389] Data too long for column 'line' Created: 2022-04-22 Updated: 2023-04-04 Resolved: 2022-06-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform FreeBSD, Storage Engine - InnoDB, Tests |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2, 10.10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
In non-debug builds, the test innodb.corrupted_during_recovery often causes InnoDB to output a page dump. This will upset the test driver (as noted in MDEV-25909):
The following patch allows the problem to be reproduced in a more controlled fashion:
The InnoDB page dumps output can be about 3×innodb_page_size characters, plus a couple dozen characters of prefix. |
| Comments |
| Comment by Marko Mäkelä [ 2022-06-27 ] |
|
It appears simpler to rewrite the InnoDB function buf_page_print() so that it will only produce 64 hexadecimal digits per line. That will limit the maximum length of the output. There was a previous work-around of |