summaryrefslogtreecommitdiff
path: root/sql/item_inetfunc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_inetfunc.cc')
-rw-r--r--sql/item_inetfunc.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/item_inetfunc.cc b/sql/item_inetfunc.cc
index 94cd9a88a1b..52c3e0635af 100644
--- a/sql/item_inetfunc.cc
+++ b/sql/item_inetfunc.cc
@@ -210,7 +210,7 @@ String *Item_func_inet_str_base::val_str_ascii(String *buffer)
@return Completion status.
@retval false Given string does not represent an IPv4-address.
- @retval true The string has been converted sucessfully.
+ @retval true The string has been converted successfully.
@note The problem with inet_pton() is that it treats leading zeros in
IPv4-part differently on different platforms.
@@ -335,7 +335,7 @@ static bool str_to_ipv4(const char *str, size_t str_length, in_addr *ipv4_addres
@return Completion status.
@retval false Given string does not represent an IPv6-address.
- @retval true The string has been converted sucessfully.
+ @retval true The string has been converted successfully.
@note The problem with inet_pton() is that it treats leading zeros in
IPv4-part differently on different platforms.
@@ -681,7 +681,7 @@ static void ipv6_to_str(const in6_addr *ipv6, char *str)
@return Completion status.
@retval false Given string does not represent an IP-address.
- @retval true The string has been converted sucessfully.
+ @retval true The string has been converted successfully.
*/
bool Item_func_inet6_aton::calc_value(const String *arg, String *buffer)
@@ -721,7 +721,7 @@ bool Item_func_inet6_aton::calc_value(const String *arg, String *buffer)
@return Completion status.
@retval false The argument does not correspond to IP-address.
- @retval true The string has been converted sucessfully.
+ @retval true The string has been converted successfully.
*/
bool Item_func_inet6_ntoa::calc_value(const String *arg, String *buffer)