[MDEV-16969] Fix error message as promised in upstream Bug #69336 Created: 2018-08-14 Updated: 2022-02-03 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, Storage Engine - InnoDB |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Valerii Kravchuk | Assignee: | Vladislav Lesin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | error | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
In MariaDB 10.2+ we still get weird and useless error messages like this:
Test is taken from upstream https://bugs.mysql.com/bug.php?id=77398 (https://bugs.mysql.com/file.php?id=26301&bug_id=77398). That " BLOB prefix of 0 bytes" statement is just wrong, and message otherwise does not help to find what column starts to cause the problem. There is a statement in https://bugs.mysql.com/bug.php?id=69336 that error message is fixed and made useful since 5.7.5. This does NOT seem to be the case neither in 5.7.22, nor in 8.0.12:
We need this fixed in 10.2+, to help users change their schema to meet expected limitations . See |
| Comments |
| Comment by Geoff Montee (Inactive) [ 2019-08-09 ] | |
|
What do you think it should say instead? Something like this?:
| |
| Comment by Geoff Montee (Inactive) [ 2019-08-20 ] | |
|
I think this related warning also needs to be improved:
This warning would seem to imply that the c08 column is being added by some DDL statement, but this warning is also logged in the context of things like CHECK TABLE. In contexts like that, this warning doesn't make sense, so I think this warning should be improved. See also |