fixed bug #2762 "grammar error in myisam/mi_check.c"

parent 8a409722
...@@ -115,7 +115,9 @@ int chk_status(MI_CHECK *param, register MI_INFO *info) ...@@ -115,7 +115,9 @@ int chk_status(MI_CHECK *param, register MI_INFO *info)
/* Don't count this as a real warning, as check can correct this ! */ /* Don't count this as a real warning, as check can correct this ! */
uint save=param->warning_printed; uint save=param->warning_printed;
mi_check_print_warning(param, mi_check_print_warning(param,
"%d clients is using or hasn't closed the table properly", share->state.open_count==1 ?
"%d client is using or hasn't closed the table properly" :
"%d clients are using or haven't closed the table properly",
share->state.open_count); share->state.open_count);
/* If this will be fixed by the check, forget the warning */ /* If this will be fixed by the check, forget the warning */
if (param->testflag & T_UPDATE_STATE) if (param->testflag & T_UPDATE_STATE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment