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 3643daf903f..bb00ccf2771 100644
--- a/sql/item_inetfunc.cc
+++ b/sql/item_inetfunc.cc
@@ -206,7 +206,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.
@@ -331,7 +331,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.
@@ -677,7 +677,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)
@@ -717,7 +717,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)