mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
just tried to find all 'skipp' and replace it with 'skip'.
This commit is contained in:
@ -34,14 +34,14 @@ uint strinstr(reg1 const char *str,reg4 const char *search)
|
||||
reg2 my_string i,j;
|
||||
my_string start = (my_string) str;
|
||||
|
||||
skipp:
|
||||
skip:
|
||||
while (*str != '\0')
|
||||
{
|
||||
if (*str++ == *search)
|
||||
{
|
||||
i=(my_string) str; j= (my_string) search+1;
|
||||
while (*j)
|
||||
if (*i++ != *j++) goto skipp;
|
||||
if (*i++ != *j++) goto skip;
|
||||
return ((uint) (str - start));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user