[MDEV-20783] INET6 cannot be converted to BINARY(16) (requires clarification in documentation) Created: 2019-10-09 Updated: 2019-10-10 Resolved: 2019-10-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types, Documentation |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
The description of
One could derive from that that INET6 can be converted into BINARY(16), but it's not the case:
I assume it's expected, but it should probably be clarified in documentation. |
| Comments |
| Comment by Alexander Barkov [ 2019-10-09 ] | |||||||||
|
elenst thanks for reporting. I think this should be fixed, moreover it works the other way around, i.e. conversion from BINARY(16) to INET6:
| |||||||||
| Comment by Alexander Barkov [ 2019-10-10 ] | |||||||||
|
Note, the problem with CAST will be fixed separately, in |