summaryrefslogtreecommitdiff
path: root/myisam/mi_open.c
diff options
context:
space:
mode:
authorreggie@mdk10.(none) <>2005-06-10 16:45:54 -0500
committerreggie@mdk10.(none) <>2005-06-10 16:45:54 -0500
commit6a9ce670ead90fbfa12ddbdb4aed734509fd9043 (patch)
treec84709319fbdc119e5b416b4d3161656f72d3336 /myisam/mi_open.c
parentdea4ede2dc417ecca1770b6e2d842988c6e6b686 (diff)
parent6271cf51ace543fc2c2dbec453bf5293471ccbc2 (diff)
downloadmariadb-git-6a9ce670ead90fbfa12ddbdb4aed734509fd9043.tar.gz
Merge mdk10.(none):/home/reggie/bk/mysql-4.1-base
into mdk10.(none):/home/reggie/bk/mysql-5.0-base
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r--myisam/mi_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c
index d65a46a92fb..456b87b7799 100644
--- a/myisam/mi_open.c
+++ b/myisam/mi_open.c
@@ -526,7 +526,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
share->base.max_key_length),
&info.lastkey,share->base.max_key_length*3+1,
&info.first_mbr_key, share->base.max_key_length,
- &info.filename,strlen(org_name)+1,
+ &info.filename,strlen(name)+1,
&info.rtree_recursion_state,have_rtree ? 1024 : 0,
NullS))
goto err;
@@ -535,7 +535,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
if (!have_rtree)
info.rtree_recursion_state= NULL;
- strmov(info.filename,org_name);
+ strmov(info.filename,name);
memcpy(info.blobs,share->blobs,sizeof(MI_BLOB)*share->base.blobs);
info.lastkey2=info.lastkey+share->base.max_key_length;