summaryrefslogtreecommitdiff
path: root/isam/create.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-11-07 00:13:29 +0200
committermonty@hundin.mysql.fi <>2001-11-07 00:13:29 +0200
commit4c60b4195436182f7d06d5db926e8f60d845271d (patch)
tree64754ff9c9c94a31f64a96e1a5e3ae60a4a93253 /isam/create.c
parent771af387e347412ce4884dcc5dcee6db12c4bfd9 (diff)
downloadmariadb-git-4c60b4195436182f7d06d5db926e8f60d845271d.tar.gz
Portability fix
Cleanup typos (like SKIPP -> SKIP)
Diffstat (limited to 'isam/create.c')
-rw-r--r--isam/create.c8
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--;