summaryrefslogtreecommitdiff
path: root/myisam/mi_check.c
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2004-02-16 18:58:15 +0400
committerunknown <vva@eagle.mysql.r18.ru>2004-02-16 18:58:15 +0400
commitca9f94190d749c57ce383416d24a1e95ebb29fb8 (patch)
tree60407b06906471167c62822bbbb40f3b9c0fb3a0 /myisam/mi_check.c
parentcf2ecf37026b89640f539f2dc34a1d2f63501918 (diff)
downloadmariadb-git-ca9f94190d749c57ce383416d24a1e95ebb29fb8.tar.gz
fixed bug #2762 "grammar error in myisam/mi_check.c"
Diffstat (limited to 'myisam/mi_check.c')
-rw-r--r--myisam/mi_check.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c
index 89fcfe74cea..e6fe2aa706e 100644
--- a/myisam/mi_check.c
+++ b/myisam/mi_check.c
@@ -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 ! */
uint save=param->warning_printed;
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);
/* If this will be fixed by the check, forget the warning */
if (param->testflag & T_UPDATE_STATE)