Commit 0da47eae authored by unknown's avatar unknown

ctype-uca.c:

  Optimization: move "space padding" code outside the loop


strings/ctype-uca.c:
  Optimization: move "space padding" code outside the loop
parent 5f8337fc
......@@ -7099,6 +7099,7 @@ static int my_strnncollsp_uca(CHARSET_INFO *cs,
{
s_res= scanner_handler->next(&sscanner);
t_res= scanner_handler->next(&tscanner);
} while ( s_res == t_res && s_res >0);
if (s_res > 0 && t_res < 0)
{
......@@ -7130,8 +7131,6 @@ static int my_strnncollsp_uca(CHARSET_INFO *cs,
return 0;
}
} while ( s_res == t_res && s_res >0);
return ( s_res - t_res );
}
......
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