[MDEV-27771] [ERROR] mysqld: Incorrect information in file: './test/t1.frm' on "ERROR 1918 Encountered illegal value ... when converting to latin1" Created: 2022-02-08 Updated: 2024-01-12 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | 10.4, 10.5, 10.6, 11.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Roel Van de Paar | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | affects-tests, corruption | ||
| Issue Links: |
|
||||||||
| Description |
|
Leads to:
Proposed fix: do not allow creation of a corrupt table. |
| Comments |
| Comment by Roel Van de Paar [ 2022-04-09 ] | |||||||||||||||||||||||||
|
Additional testcase.
Leads to:
Affects testing. | |||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2023-11-28 ] | |||||||||||||||||||||||||
|
The same problem is repeatable with:
| |||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2023-11-28 ] | |||||||||||||||||||||||||
|
Hello serg, please review: https://github.com/MariaDB/server/commit/ac004c07f84b3fda31367b5d2d50f56477fef27f Thanks. | |||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2024-01-06 ] | |||||||||||||||||||||||||
|
I see nothing critical here. The behavior is correct, the error makes sense, table is not created. A spurious message in the error log is confusing, but that's a minor nuisance. | |||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2024-01-06 ] | |||||||||||||||||||||||||
|
As a fix I suggest to suppress the error log message. Something like
|