1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

just tried to find all 'skipp' and replace it with 'skip'.

This commit is contained in:
ram@gw.mysql.r18.ru
2004-02-02 20:25:39 +04:00
parent 3243678040
commit f231d9826b
29 changed files with 83 additions and 83 deletions

View File

@ -294,7 +294,7 @@ uint my_instr_bin(CHARSET_INFO *cs __attribute__((unused)),
end= (const uchar*) b+b_length-s_length+1;
search_end= (const uchar*) s + s_length;
skipp:
skip:
while (str != end)
{
if ( (*str++) == (*search))
@ -306,7 +306,7 @@ skipp:
while (j != search_end)
if ((*i++) != (*j++))
goto skipp;
goto skip;
if (nmatch > 0)
{

View File

@ -1055,7 +1055,7 @@ uint my_instr_simple(CHARSET_INFO *cs,
end= (const uchar*) b+b_length-s_length+1;
search_end= (const uchar*) s + s_length;
skipp:
skip:
while (str != end)
{
if (cs->sort_order[*str++] == cs->sort_order[*search])
@ -1067,7 +1067,7 @@ skipp:
while (j != search_end)
if (cs->sort_order[*i++] != cs->sort_order[*j++])
goto skipp;
goto skip;
if (nmatch > 0)
{

View File

@ -35,7 +35,7 @@ uint r_strinstr(reg1 my_string str,int from, reg4 my_string search)
/* pointer to the last char of search */
my_string search_end = search + len - 1;
skipp:
skip:
while (start >= str) /* Cant be != because the first char */
{
if (*start-- == *search_end)
@ -43,7 +43,7 @@ uint r_strinstr(reg1 my_string str,int from, reg4 my_string search)
i = start; j = search_end - 1;
while (j >= search && start > str)
if (*i-- != *j--)
goto skipp;
goto skip;
return (uint) ((start - len) - str + 3);
}
}

View File

@ -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));
}
}

View File

@ -37,12 +37,12 @@ char *strstr(register const char *str,const char *search)
register char *i,*j;
register char first= *search;
skipp:
skip:
while (*str != '\0') {
if (*str++ == first) {
i=(char*) str; j=(char*) search+1;
while (*j)
if (*i++ != *j++) goto skipp;
if (*i++ != *j++) goto skip;
return ((char*) str-1);
}
}