[MDEV-29759] Wrong error message upon CREATE OR REPLACE .. LIKE with merge table Created: 2022-10-10 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - MyISAM |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I'm not sure it should fail at all, since it's LIKE, not CREATE .. SELECT; but even if it should, still the message is wrong – tm is not a target for CREATE, and it is not a source for data since there is no data involved (and a merge table doesn't contain any anyway). It would make more sense if the message was referring t table, at least it is indeed a target for CREATE, and with some stretch it could be claimed that t as an underlying table is a part of tm definition and thus a source for "data". Note that before |