summaryrefslogtreecommitdiff
path: root/myisammrg/myrg_info.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-12-10 00:06:05 +0100
committerunknown <serg@serg.mysql.com>2002-12-10 00:06:05 +0100
commite12c0a35cb412cc765b89492969d4325f632e9fa (patch)
tree25aac698d5a4ca5410883a89fc81f7a5fb2d678f /myisammrg/myrg_info.c
parentf7604940d7d89536d9331ba7d6d482c5bf6d008c (diff)
downloadmariadb-git-e12c0a35cb412cc765b89492969d4325f632e9fa.tar.gz
ANALYZE for MERGE
Diffstat (limited to 'myisammrg/myrg_info.c')
-rw-r--r--myisammrg/myrg_info.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/myisammrg/myrg_info.c b/myisammrg/myrg_info.c
index 14bc228cc1f..ba840ac444b 100644
--- a/myisammrg/myrg_info.c
+++ b/myisammrg/myrg_info.c
@@ -28,8 +28,6 @@ ulonglong myrg_position(MYRG_INFO *info)
~(ulonglong) 0;
}
- /* If flag != 0 one only gets pos of last record */
-
int myrg_status(MYRG_INFO *info,register MYMERGE_INFO *x,int flag)
{
MYRG_TABLE *current_table;
@@ -55,15 +53,16 @@ int myrg_status(MYRG_INFO *info,register MYMERGE_INFO *x,int flag)
DBUG_PRINT("info2",("table: %s, offset: %lu",
file->table->filename,(ulong) file->file_offset));
}
- x->records = info->records;
- x->deleted = info->del;
- x->data_file_length = info->data_file_length;
- x->reclength = info->reclength;
- x->options = info->options;
+ x->records= info->records;
+ x->deleted= info->del;
+ x->data_file_length= info->data_file_length;
+ x->reclength= info->reclength;
+ x->options= info->options;
if (current_table)
- x->errkey = current_table->table->errkey;
+ x->errkey= current_table->table->errkey;
else
- x->errkey=0;
+ x->errkey= 0;
+ x->rec_per_key = info->rec_per_key_part;
}
DBUG_RETURN(0);
}