summaryrefslogtreecommitdiff
path: root/myisam/mi_create.c
diff options
context:
space:
mode:
authorunknown <ram@gw.udmsearch.izhnet.ru>2002-04-25 15:10:29 +0500
committerunknown <ram@gw.udmsearch.izhnet.ru>2002-04-25 15:10:29 +0500
commitfb3cc6ef3ed1840ac3629abe113f94e18e43744f (patch)
treefae16eacfad983f202e51e4a4398875f00513543 /myisam/mi_create.c
parent5299dc2937fead8483b975ae3d855fcf9af97a59 (diff)
downloadmariadb-git-fb3cc6ef3ed1840ac3629abe113f94e18e43744f.tar.gz
MI_KEYSEG -> HA_KEYSEG
_mi_key_cmp -> ha_key_cmp BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'myisam/mi_create.c')
-rw-r--r--myisam/mi_create.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/myisam/mi_create.c b/myisam/mi_create.c
index 8f4a44a52a4..13d9443c099 100644
--- a/myisam/mi_create.c
+++ b/myisam/mi_create.c
@@ -53,7 +53,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
MYISAM_SHARE share;
MI_KEYDEF *keydef,tmp_keydef;
MI_UNIQUEDEF *uniquedef;
- MI_KEYSEG *keyseg,tmp_keyseg;
+ HA_KEYSEG *keyseg,tmp_keyseg;
MI_COLUMNDEF *rec;
ulong *rec_per_key_part;
my_off_t key_root[MI_MAX_POSSIBLE_KEY],key_del[MI_MAX_KEY_BLOCK_SIZE];
@@ -440,7 +440,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
info_length=base_pos+(uint) (MI_BASE_INFO_SIZE+
keys * MI_KEYDEF_SIZE+
uniques * MI_UNIQUEDEF_SIZE +
- (key_segs + unique_key_parts)*MI_KEYSEG_SIZE+
+ (key_segs + unique_key_parts)*HA_KEYSEG_SIZE+
columns*MI_COLUMNDEF_SIZE);
bmove(share.state.header.file_version,(byte*) myisam_file_magic,4);
@@ -596,14 +596,14 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
goto err;
for (j=0 ; j < ft_segs ; j++)
{
- MI_KEYSEG seg=ft_keysegs[j];
+ HA_KEYSEG seg=ft_keysegs[j];
seg.language= keydefs[i].seg[0].language;
if (mi_keyseg_write(file, &seg))
goto err;
}
for (j=0 ; j < sp_segs ; j++)
{
- MI_KEYSEG sseg;
+ HA_KEYSEG sseg;
sseg.type=SPTYPE;
sseg.language= 7;
sseg.null_bit=0;