diff options
author | unknown <serg@sergbook.mysql.com> | 2002-09-04 08:05:29 +0200 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2002-09-04 08:05:29 +0200 |
commit | 561c14edf967b5b2034ec9dce43092df65146536 (patch) | |
tree | fa73a8a8f56763509987ec34c59a11f6d27bb283 /myisam | |
parent | 854894f1838f343f8a4ba9b182796f7ada62cb0f (diff) | |
download | mariadb-git-561c14edf967b5b2034ec9dce43092df65146536.tar.gz |
wrong test for -q/-qq (T_QUICK/T_FORCE_UNIQUENESS) in myisamchk corrected
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 0ae700df8c2..5fecf707227 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -1238,7 +1238,7 @@ int mi_repair(MI_CHECK *param, register MI_INFO *info, USE_WHOLE_KEY); } sort_info.dupp++; - if (!(rep_quick & T_FORCE_UNIQUENESS)) + if ((param->testflag & (T_FORCE_UNIQUENESS|T_QUICK)) == T_QUICK) { param->testflag|=T_RETRY_WITHOUT_QUICK; param->error_printed=1; @@ -3210,7 +3210,7 @@ static int sort_delete_record(MI_SORT_PARAM *sort_param) MI_INFO *info=sort_info->info; DBUG_ENTER("sort_delete_record"); - if (!(param->testflag & T_FORCE_UNIQUENESS)) + if ((param->testflag & (T_FORCE_UNIQUENESS|T_QUICK)) == T_QUICK) { mi_check_print_error(param, "Quick-recover aborted; Run recovery without switch -q or with switch -qq"); |