Skip to content

Commit 395495b

Browse files
author
Alexander Nozdrin
committed
A follow-up for WL#5787.
Fix wording in error-message and source code comment.
1 parent 97066be commit 395495b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sql/item_inetfunc.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ longlong Item_func_inet_aton::val_int()
7070
if (c != '.') // IP number can't end on '.'
7171
{
7272
/*
73-
Attempt to support short-form addresses (i.e. classful addresses).
74-
The current code does not support full range of classful addresses.
73+
Attempt to support short forms of IP-addresses. It's however pretty
74+
basic one comparing to the BSD support.
7575
Examples:
7676
127 -> 0.0.0.127
7777
127.255 -> 127.0.0.255
@@ -310,7 +310,7 @@ static bool str_to_ipv4(const char *str, int str_length, in_addr *ipv4_address)
310310
if (dot_count != 3)
311311
{
312312
DBUG_PRINT("error", ("str_to_ipv4(%.*s): invalid IPv4 address: "
313-
"classful address (too few groups).",
313+
"too few groups.",
314314
str_length, str));
315315
return false;
316316
}

0 commit comments

Comments
 (0)