mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
code and comments cleanup
This commit is contained in:
parent
03f098d57e
commit
04675623d6
1 changed files with 3 additions and 4 deletions
|
@ -2648,10 +2648,9 @@ longlong Item_func_inet_aton::val_int()
|
|||
}
|
||||
if (c != '.') // IP number can't end on '.'
|
||||
{
|
||||
switch (dot_count)
|
||||
{
|
||||
case 1: result<<= 8;
|
||||
case 2: result<<= 8;
|
||||
switch (dot_count) {
|
||||
case 1: result<<= 8; /* fall through */
|
||||
case 2: result<<= 8; /* fall through */
|
||||
}
|
||||
return (result << 8) + (ulonglong) byte_result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue