mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Fix skipp -> skip once and for all.
(Note: This affects only comments, not variable names.) extra/perror.c: Fix skipp -> skip once and for all. heap/hp_hash.c: Fix skipp -> skip once and for all. isam/_dynrec.c: Fix skipp -> skip once and for all. isam/isamchk.c: Fix skipp -> skip once and for all. isam/isamlog.c: Fix skipp -> skip once and for all. isam/pack_isam.c: Fix skipp -> skip once and for all. isam/test1.c: Fix skipp -> skip once and for all. merge/mrg_open.c: Fix skipp -> skip once and for all. myisam/mi_check.c: Fix skipp -> skip once and for all. myisam/mi_delete.c: Fix skipp -> skip once and for all. myisam/mi_key.c: Fix skipp -> skip once and for all. myisam/mi_search.c: Fix skipp -> skip once and for all. myisam/myisamlog.c: Fix skipp -> skip once and for all. mysys/ChangeLog: Fix skipp -> skip once and for all. mysys/default.c: Fix skipp -> skip once and for all. mysys/mf_iocache.c: Fix skipp -> skip once and for all. mysys/mf_iocache2.c: Fix skipp -> skip once and for all. mysys/mf_pack.c: Fix skipp -> skip once and for all. mysys/mf_soundex.c: Fix skipp -> skip once and for all. mysys/mf_wfile.c: Fix skipp -> skip once and for all. mysys/my_error.c: Fix skipp -> skip once and for all. mysys/my_getwd.c: Fix skipp -> skip once and for all. scripts/mysql_find_rows.sh: Fix skipp -> skip once and for all. sql/sql_yacc.yy: Fix skipp -> skip once and for all. sql/time.cc: Fix skipp -> skip once and for all. strings/ctype-big5.c: Fix skipp -> skip once and for all. strings/ctype-gbk.c: Fix skipp -> skip once and for all. strings/ctype-tis620.c: Fix skipp -> skip once and for all.
This commit is contained in:
parent
0f7a9f6102
commit
e6b4b30481
28 changed files with 42 additions and 42 deletions
|
|
@ -91,7 +91,7 @@ Tue Mar 26 15:09:45 1991 Mikael WIDENIUS (monty at panther)
|
|||
|
||||
Sat Mar 23 10:49:49 1991 Michael Widenius (monty at LYNX)
|
||||
|
||||
* Added init of alarm variables to skipp some warnings from gcc.
|
||||
* Added init of alarm variables to skip some warnings from gcc.
|
||||
|
||||
Tue Mar 5 16:50:34 1991 Michael Widenius (monty at LYNX)
|
||||
|
||||
|
|
@ -124,7 +124,7 @@ Mon Aug 27 22:20:38 1990 Michael Widenius (monty at lynx)
|
|||
Sun Apr 1 23:29:47 1990 Monty (monty at monty)
|
||||
|
||||
* Changed mf_keydisk.c to have separate functions for read and write.
|
||||
Read can now return pointer to intern key-buffer to skipp
|
||||
Read can now return pointer to intern key-buffer to skip
|
||||
unessessary memcpy-s.
|
||||
|
||||
Fri Mar 23 23:03:39 1990 Monty (monty at monty)
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ int load_defaults(const char *conf_file, const char **groups,
|
|||
/* copy name + found arguments + command line arguments to new array */
|
||||
res[0]= argv[0][0]; /* Name MUST be set, even by embedded library */
|
||||
memcpy((gptr) (res+1), args.buffer, args.elements*sizeof(char*));
|
||||
/* Skipp --defaults-file and --defaults-extra-file */
|
||||
/* Skip --defaults-file and --defaults-extra-file */
|
||||
(*argc)-= args_used;
|
||||
(*argv)+= args_used;
|
||||
|
||||
|
|
|
|||
|
|
@ -800,7 +800,7 @@ int _my_b_async_read(register IO_CACHE *info, byte *Buffer, uint Count)
|
|||
{ /* Fix if skipped bytes */
|
||||
if (info->aio_read_pos + read_length < info->pos_in_file)
|
||||
{
|
||||
read_length=0; /* Skipp block */
|
||||
read_length=0; /* Skip block */
|
||||
next_pos_in_file=info->pos_in_file;
|
||||
}
|
||||
else
|
||||
|
|
@ -894,7 +894,7 @@ int _my_b_async_read(register IO_CACHE *info, byte *Buffer, uint Count)
|
|||
if (aioread(info->file,read_buffer,(int) max_length,
|
||||
(my_off_t) next_pos_in_file,MY_SEEK_SET,
|
||||
&info->aio_result.result))
|
||||
{ /* Skipp async io */
|
||||
{ /* Skip async io */
|
||||
my_errno=errno;
|
||||
DBUG_PRINT("error",("got error: %d, aio_result: %d from aioread, async skipped",
|
||||
errno, info->aio_result.result.aio_errno));
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ uint my_b_vprintf(IO_CACHE *info, const char* fmt, va_list args)
|
|||
fmt++;
|
||||
/* Found one '%' */
|
||||
}
|
||||
/* Skipp if max size is used (to be compatible with printf) */
|
||||
/* Skip if max size is used (to be compatible with printf) */
|
||||
while (my_isdigit(&my_charset_latin1, *fmt) || *fmt == '.' || *fmt == '-')
|
||||
fmt++;
|
||||
if (*fmt == 's') /* String parameter */
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ void pack_dirname(my_string to, const char *from)
|
|||
(void) intern_filename(to,from); /* Change to intern name */
|
||||
|
||||
#ifdef FN_DEVCHAR
|
||||
if ((start=strrchr(to,FN_DEVCHAR)) != 0) /* Skipp device part */
|
||||
if ((start=strrchr(to,FN_DEVCHAR)) != 0) /* Skip device part */
|
||||
start++;
|
||||
else
|
||||
#endif
|
||||
|
|
@ -131,7 +131,7 @@ uint cleanup_dirname(register my_string to, const char *from)
|
|||
from_ptr=(my_string) from;
|
||||
#ifdef FN_DEVCHAR
|
||||
if ((pos=strrchr(from_ptr,FN_DEVCHAR)) != 0)
|
||||
{ /* Skipp device part */
|
||||
{ /* Skip device part */
|
||||
length=(uint) (pos-from_ptr)+1;
|
||||
start=strnmov(buff,from_ptr,length); from_ptr+=length;
|
||||
}
|
||||
|
|
@ -195,7 +195,7 @@ uint cleanup_dirname(register my_string to, const char *from)
|
|||
pos--; /* Remove dupplicate '/' */
|
||||
}
|
||||
else if (pos-start > 1 && pos[-1] == FN_CURLIB && pos[-2] == FN_LIBCHAR)
|
||||
pos-=2; /* Skipp /./ */
|
||||
pos-=2; /* Skip /./ */
|
||||
else if (pos > buff+1 && pos[-1] == FN_HOMELIB && pos[-2] == FN_LIBCHAR)
|
||||
{ /* Found ..../~/ */
|
||||
buff[0]=FN_HOMELIB;
|
||||
|
|
@ -409,7 +409,7 @@ uint system_filename(my_string to, const char *from)
|
|||
libchar_found=0;
|
||||
(void) strmov(buff,from); /* If to == from */
|
||||
from_pos= buff;
|
||||
if ((pos=strrchr(from_pos,FN_DEVCHAR))) /* Skipp device part */
|
||||
if ((pos=strrchr(from_pos,FN_DEVCHAR))) /* Skip device part */
|
||||
{
|
||||
pos++;
|
||||
to_pos=strnmov(to,from_pos,(size_s) (pos-from_pos));
|
||||
|
|
@ -419,7 +419,7 @@ uint system_filename(my_string to, const char *from)
|
|||
to_pos=to;
|
||||
|
||||
if (from_pos[0] == FN_CURLIB && from_pos[1] == FN_LIBCHAR)
|
||||
from_pos+=2; /* Skipp './' */
|
||||
from_pos+=2; /* Skip './' */
|
||||
if (strchr(from_pos,FN_LIBCHAR))
|
||||
{
|
||||
*(to_pos++) = FN_C_BEFORE_DIR;
|
||||
|
|
@ -487,7 +487,7 @@ my_string intern_filename(my_string to, const char *from)
|
|||
|
||||
convert_dirname(buff,from,NullS); /* change '<>' to '[]' */
|
||||
from_pos=buff;
|
||||
if ((pos=strrchr(from_pos,FN_DEVCHAR))) /* Skipp device part */
|
||||
if ((pos=strrchr(from_pos,FN_DEVCHAR))) /* Skip device part */
|
||||
{
|
||||
pos++;
|
||||
to_pos=strnmov(to,from_pos,(size_s) (pos-from_pos));
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ void soundex(CHARSET_INFO * cs,register my_string out_pntr, my_string in_pntr,
|
|||
|
||||
if (remove_garbage)
|
||||
{
|
||||
while (*in_pntr && !my_isalpha(cs,*in_pntr)) /* Skipp pre-space */
|
||||
while (*in_pntr && !my_isalpha(cs,*in_pntr)) /* Skip pre-space */
|
||||
in_pntr++;
|
||||
}
|
||||
*out_pntr++ = map[(uchar)*in_pntr]; /* Copy first letter */
|
||||
|
|
@ -82,7 +82,7 @@ void soundex(CHARSET_INFO * cs,register my_string out_pntr, my_string in_pntr,
|
|||
|
||||
/*
|
||||
If alpha, map input letter to soundex code.
|
||||
If not alpha and remove_garbage is set then skipp to next char
|
||||
If not alpha and remove_garbage is set then skip to next char
|
||||
else return 0
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ WF_PACK *wf_comp(my_string str)
|
|||
WF_PACK *ret;
|
||||
DBUG_ENTER("wf_comp");
|
||||
|
||||
not_pos= -1; /* Skipp space and '!' in front */
|
||||
not_pos= -1; /* Skip space and '!' in front */
|
||||
while (*str == ' ')
|
||||
str++;
|
||||
if (*str == '!')
|
||||
|
|
|
|||
|
|
@ -68,10 +68,10 @@ int my_error(int nr,myf MyFlags, ...)
|
|||
}
|
||||
else
|
||||
{
|
||||
/* Skipp if max size is used (to be compatible with printf) */
|
||||
/* Skip if max size is used (to be compatible with printf) */
|
||||
while (my_isdigit(&my_charset_latin1, *tpos) || *tpos == '.' || *tpos == '-')
|
||||
tpos++;
|
||||
if (*tpos == 'l') /* Skipp 'l' argument */
|
||||
if (*tpos == 'l') /* Skip 'l' argument */
|
||||
tpos++;
|
||||
if (*tpos == 's') /* String parameter */
|
||||
{
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ int my_setwd(const char *dir, myf MyFlags)
|
|||
{
|
||||
uint drive,drives;
|
||||
|
||||
pos++; /* Skipp FN_DEVCHAR */
|
||||
pos++; /* Skip FN_DEVCHAR */
|
||||
drive=(uint) (my_toupper(&my_charset_latin1,dir[0])-'A'+1);
|
||||
drives= (uint) -1;
|
||||
if ((pos-(byte*) dir) == 2 && drive > 0 && drive < 32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue