Details
-
Type:
Task
-
Status: Stalled
-
Priority:
Major
-
Resolution: Unresolved
-
Fix Version/s: 10.2
-
Component/s: None
-
Labels:None
Description
MariaDB will support the data type to store IPv6 addresses in table columns.
IPv4 addresses will be also supported by this type assuming conventional mapping of IPv4 addresses into IPv6 addresses
The objects of the IPv6 type can be used in any context where other MySQL data types are used.
All comparison operators over operands of this data type will be supported.
Also the basic function specific for this type will be supported.
The internal representation of the values of this type will support the conventional compression used for IPv6 addresses when any group of 4 hexadecimal '0000' is represented by one hexadecimal '0'.
Gliffy Diagrams
Attachments
Issue Links
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
The IPV6 type should work as follows:
Example:
CREATE TABLE t1 (a ipv6);
insert into t1 values ("2001:0db8:0000:0000:0000:ff00:0042:8329"), ("2001:0db8::ff00:0042:8329");
select a, ipv6_compact(a) from t1;
a ipv6_compact(a) from t1;
"2001:0db8:0000:0000:0000:ff00:0042:8329" "2001:0db8::ff00:0042:8329"
"2001:0db8:0000:0000:0000:ff00:0042:8329" "2001:0db8::ff00:0042:8329"