We're updating the issue view to help you get more done.Learn more

The data type for IPv6/IPv4 addresses in MariaDB

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'.



Alexander Barkov


Igor Babaev