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 | 285f6bb47d840040f54b4a39a570a1f3c0c92f44 (patch) | |
tree | 64754ff9c9c94a31f64a96e1a5e3ae60a4a93253 /isam/create.c | |
parent | 5c7aad771822f3e525090ba9c26b296892f43034 (diff) | |
download | mariadb-git-285f6bb47d840040f54b4a39a570a1f3c0c92f44.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 'isam/create.c')
-rw-r--r-- | isam/create.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/isam/create.c b/isam/create.c index fcf54ddc731..857c618b49f 100644 --- a/isam/create.c +++ b/isam/create.c @@ -96,8 +96,8 @@ int nisam_create(const char *name,uint keys,N_KEYDEF *keyinfo, pack_reclength+=sizeof(char*)+(1 << (rec->base.length*8)); } } - else if (type == FIELD_SKIPP_PRESPACE || - type == FIELD_SKIPP_ENDSPACE) + else if (type == FIELD_SKIP_PRESPACE || + type == FIELD_SKIP_ENDSPACE) { if (pack_reclength != NI_POS_ERROR) pack_reclength+= rec->base.length > 255 ? 2 : 1; @@ -105,7 +105,7 @@ int nisam_create(const char *name,uint keys,N_KEYDEF *keyinfo, } else if (type == FIELD_ZERO) packed--; - else if (type != FIELD_SKIPP_ZERO) + else if (type != FIELD_SKIP_ZERO) { min_pack_length+=rec->base.length; packed--; /* Not a pack record type */ @@ -119,7 +119,7 @@ int nisam_create(const char *name,uint keys,N_KEYDEF *keyinfo, while (rec != recinfo) { rec--; - if (rec->base.type == (int) FIELD_SKIPP_ZERO && rec->base.length == 1) + if (rec->base.type == (int) FIELD_SKIP_ZERO && rec->base.length == 1) { rec->base.type=(int) FIELD_NORMAL; packed--; |