[MDEV-29663] Incorrect, confusing error message: ERROR 1054 (42S22): Unknown column 't0.c1' in 'field list' Created: 2022-09-29 Updated: 2023-11-28 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | 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 |
| Type: | Bug | Priority: | Major |
| Reporter: | Roel Van de Paar | Assignee: | Yuchen Pei |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | affects-tests, errorlog, errors | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Leads to:
1. The t0 is incorrect, there is no t0 defined. This is likely a Spider-internal reference.
Or similar (assuming that this is the underlaying issue). Changing the definition of table t to column name c1 (instead of c) fixes the issue. |
| Comments |
| Comment by Roel Van de Paar [ 2022-10-20 ] | ||||||||||||||
|
Additional testcase
| ||||||||||||||
| Comment by Roel Van de Paar [ 2022-10-20 ] | ||||||||||||||
|
In certain cases, a correct error makes it to the error log. For example, when executing:
We see ERROR 1146 in both the client and the error log:
However, when only the last line is changed to:
Then only the CLI will show the issue, not the error log. This seems closely related to the testcase in the previous comment. | ||||||||||||||
| Comment by Roel Van de Paar [ 2022-10-20 ] | ||||||||||||||
|
There is an additional testcase/information in |