[MDEV-5697] Incosistent warnings from CAST(AS DATETIME) for different field types Created: 2014-02-18 Updated: 2017-11-05 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.6 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This SQL script
returns NULL for all columns:
which is OK. But the warnings returned are different:
Notice three different warning versions. This should probably be fixed to return the same warning |
| Comments |
| Comment by Alexander Barkov [ 2014-02-18 ] |
|
There should not be field names (field names should be printed only on INSERT/UPDATE). |