summaryrefslogtreecommitdiff
path: root/myisam/mi_info.c
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-12-31 11:38:44 +0200
committerunknown <monty@donna.mysql.com>2000-12-31 11:38:44 +0200
commit085ac18198f212d1fd34e0f327dca390c18476c1 (patch)
treef0e63f2938983bf57301ef7e1bf1fd2fd2334fed /myisam/mi_info.c
parent53b6c99d04f3d3a4ff2c9b46d431d379bc5786e6 (diff)
downloadmariadb-git-085ac18198f212d1fd34e0f327dca390c18476c1.tar.gz
Fixed new bug in BDB tables
myisam/mi_info.c: Fixed potential bug scripts/safe_mysqld.sh: Only set --user if running as root sql/ha_berkeley.cc: Fixed core dump bug in ALTER TABLE sql/mysql_priv.h: Fixed wrong define sql/mysqld.cc: Cleanup
Diffstat (limited to 'myisam/mi_info.c')
-rw-r--r--myisam/mi_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_info.c b/myisam/mi_info.c
index 958c881158d..078ce4042e8 100644
--- a/myisam/mi_info.c
+++ b/myisam/mi_info.c
@@ -57,7 +57,6 @@ int mi_status(MI_INFO *info, register MI_ISAMINFO *x, uint flag)
x->index_file_length=info->state->key_file_length;
x->keys = share->state.header.keys;
- x->key_map = share->state.key_map;
x->check_time = share->state.check_time;
x->mean_reclength = info->state->records ?
(ulong) (info->state->data_file_length-info->state->empty)/
@@ -87,6 +86,7 @@ int mi_status(MI_INFO *info, register MI_ISAMINFO *x, uint flag)
x->raid_type= share->base.raid_type;
x->raid_chunks= share->base.raid_chunks;
x->raid_chunksize= share->base.raid_chunksize;
+ x->key_map = share->state.key_map;
}
if ((flag & HA_STATUS_TIME) && !my_fstat(info->dfile,&state,MYF(0)))
x->update_time=state.st_mtime;