[MDEV-24230] subquery on information_schema fails with error message Created: 2020-11-17 Updated: 2020-11-25 Resolved: 2020-11-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Subquery |
| Affects Version/s: | 10.5.8, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.3.28, 10.4.18, 10.5.9 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Sebastian Weiser | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Environment: |
Ubuntu 20.04.1 LTS / Ubuntu 18.04.5 LTS |
||
| Issue Links: |
|
||||
| Description |
|
In 10.5.8, do this:
The last statement returns "SQL Error (1406): Data too long for column 'TABLE_SCHEMA' at row 1". I got the error message about "more than 1 row" on 10.5.8 when trying
Other similar queries also fail:
It seems like this occurs with any non-empty table from information_schema, both Memory and Aria. I never saw that from any other database. |
| Comments |
| Comment by Alice Sherepa [ 2020-11-17 ] |
|
Thanks a lot for the report! |