Commit 04675623 authored by unknown's avatar unknown

code and comments cleanup

parent 03f098d5
...@@ -2648,10 +2648,9 @@ longlong Item_func_inet_aton::val_int() ...@@ -2648,10 +2648,9 @@ longlong Item_func_inet_aton::val_int()
} }
if (c != '.') // IP number can't end on '.' if (c != '.') // IP number can't end on '.'
{ {
switch (dot_count) switch (dot_count) {
{ case 1: result<<= 8; /* fall through */
case 1: result<<= 8; case 2: result<<= 8; /* fall through */
case 2: result<<= 8;
} }
return (result << 8) + (ulonglong) byte_result; return (result << 8) + (ulonglong) byte_result;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment