diff options
author | unknown <monty@hundin.mysql.fi> | 2001-11-07 00:13:29 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-11-07 00:13:29 +0200 |
commit | 8547d05ccc9c00450ae8b226cb38f53f90162958 (patch) | |
tree | 64754ff9c9c94a31f64a96e1a5e3ae60a4a93253 /sql/time.cc | |
parent | 9f29fd68bdc85997e5cef96eaa6b1a0758303349 (diff) | |
download | mariadb-git-8547d05ccc9c00450ae8b226cb38f53f90162958.tar.gz |
Portability fix
Cleanup typos (like SKIPP -> SKIP)
BUILD/compile-alpha-cxx:
Fix when using InnoDB
Docs/manual.texi:
FreeBSD note
client/mysqlmanager-pwgen.c:
Portability fix
include/my_base.h:
Cleanup typos
isam/_dynrec.c:
Cleanup typos
isam/_packrec.c:
Cleanup typos
isam/create.c:
Cleanup typos
isam/pack_isam.c:
Cleanup typos
isam/test1.c:
Cleanup typos
isam/test2.c:
Cleanup typos
libmysql/manager.c:
Portability fix
myisam/ft_eval.c:
Cleanup typos
myisam/ft_test1.c:
Cleanup typos
myisam/mi_create.c:
Cleanup typos
myisam/mi_dynrec.c:
Cleanup typos
myisam/mi_packrec.c:
Cleanup typos
myisam/mi_test1.c:
Cleanup typos
myisam/mi_test2.c:
Cleanup typos
myisam/myisampack.c:
Cleanup typos
sql/field.cc:
Cleanup typos
sql/field.h:
Cleanup typos
sql/filesort.cc:
Cleanup typos
sql/gen_lex_hash.cc:
Cleanup typos
sql/ha_isam.cc:
Cleanup typos
sql/ha_myisam.cc:
Cleanup typos
sql/handler.h:
Cleanup typos
sql/hash_filo.h:
Cleanup typos
sql/item.h:
Cleanup typos
sql/item_cmpfunc.cc:
Cleanup typos
sql/item_strfunc.cc:
Cleanup typos
sql/key.cc:
Cleanup typos
sql/mysqld.cc:
Cleanup typos
sql/opt_range.cc:
Cleanup typos
sql/opt_sum.cc:
Cleanup typos
sql/sql_acl.cc:
Cleanup typos
sql/sql_class.h:
Cleanup typos
sql/sql_insert.cc:
Cleanup typos
sql/sql_lex.cc:
Cleanup typos
sql/sql_list.h:
Cleanup typos
sql/sql_load.cc:
Cleanup typos
sql/sql_parse.cc:
Cleanup typos
sql/sql_rename.cc:
Cleanup typos
sql/sql_select.cc:
Cleanup typos
sql/sql_string.cc:
Cleanup typos
sql/sql_yacc.yy:
Fix bug in last changeset
sql/structs.h:
Cleanup typos
sql/table.cc:
Cleanup typos
sql/time.cc:
Cleanup typos
sql/unireg.h:
Cleanup typos
Diffstat (limited to 'sql/time.cc')
-rw-r--r-- | sql/time.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/time.cc b/sql/time.cc index e4565bdeea7..4d194a94b8e 100644 --- a/sql/time.cc +++ b/sql/time.cc @@ -128,7 +128,7 @@ long calc_daynr(uint year,uint month,uint day) DBUG_ENTER("calc_daynr"); if (year == 0 && month == 0 && day == 0) - DBUG_RETURN(0); /* Skipp errors */ + DBUG_RETURN(0); /* Skip errors */ if (year < 200) { if ((year=year+1900) < 1900+YY_PART_YEAR) @@ -434,7 +434,7 @@ str_to_TIME(const char *str, uint length, TIME *l_time,bool fuzzy_date) DBUG_ENTER("str_to_TIME"); DBUG_PRINT("enter",("str: %.*s",length,str)); - for (; str != end && !isdigit(*str) ; str++) ; // Skipp garbage + for (; str != end && !isdigit(*str) ; str++) ; // Skip garbage if (str == end) DBUG_RETURN(TIMESTAMP_NONE); /* @@ -594,7 +594,7 @@ bool str_to_time(const char *str,uint length,TIME *l_time) date[0]=value; state=1; // Assume next is hours found_days=1; - str++; // Skipp space; + str++; // Skip space; } else if ((end-str) > 1 && *str == ':' && isdigit(str[1])) { @@ -602,7 +602,7 @@ bool str_to_time(const char *str,uint length,TIME *l_time) date[1]=value; state=2; found_hours=1; - str++; // skipp ':' + str++; // skip ':' } else { @@ -623,7 +623,7 @@ bool str_to_time(const char *str,uint length,TIME *l_time) date[state++]=value; if (state == 4 || (end-str) < 2 || *str != ':' || !isdigit(str[1])) break; - str++; // Skipp ':' + str++; // Skip ':' } if (state != 4) |