diff options
author | unknown <serg@sergbook.mysql.com> | 2002-07-21 21:01:05 +0200 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2002-07-21 21:01:05 +0200 |
commit | 13b326f105eb6904aaa69115e244e52a7f71615b (patch) | |
tree | 53f201506e53be3aefa1a3a6a15e5c06db699508 /myisam | |
parent | 641d725dcb7cfe3cc881c921ff94c382f18774b2 (diff) | |
download | mariadb-git-13b326f105eb6904aaa69115e244e52a7f71615b.tar.gz |
parallel repair: style fixups
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_check.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c index daecbb7ef2c..52ad02a3c1a 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -3223,7 +3223,7 @@ static int sort_delete_record(MI_SORT_PARAM *sort_param) old_file=info->dfile; info->dfile=info->rec_cache.file; - if (sort_info->kei) + if (sort_info->current_key) { key=info->lastkey+info->s->base.max_key_length; if ((error=(*info->s->read_rnd)(info,sort_param->record,info->lastpos,0)) && @@ -3234,7 +3234,7 @@ static int sort_delete_record(MI_SORT_PARAM *sort_param) DBUG_RETURN(1); } - for (i=0 ; i < sort_info->kei ; i++) + for (i=0 ; i < sort_info->current_key ; i++) { uint key_length=_mi_make_key(info,i,key,sort_param->record,info->lastpos); if (_mi_ck_delete(info,i,key,key_length)) |