[MDEV-14576] Include full name of object in message about incorrect value for column Created: 2017-12-05 Updated: 2020-08-25 Resolved: 2018-12-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Fix Version/s: | 10.2.20 |
| Type: | Task | Priority: | Critical |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | error | ||
| Description |
|
When a value isn't compatible with a column, the user sees an error message like the following:
It would be helpful if this error message also named the database and table, since a statement can affect multiple tables (such as when stored procedures, triggers, and views are involved), and multiple tables can have a column with the same name. For example, run the following SQL:
|
| Comments |
| Comment by Alexey Botchkov [ 2018-11-04 ] |
|
http://lists.askmonty.org/pipermail/commits/2018-November/013056.html |
| Comment by Alexey Botchkov [ 2018-11-12 ] |
|
I didn't include modified test results in this patch to make it smaller. Here is an example of tests that change with this patch: |
| Comment by Marko Mäkelä [ 2018-12-18 ] |
|
holyfoot, I think that this should be closed as fixed, now that this is in the 10.2, 10.3, and 10.4 branches. |