summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvva@eagle.mysql.r18.ru <>2004-02-16 18:58:15 +0400
committervva@eagle.mysql.r18.ru <>2004-02-16 18:58:15 +0400
commit3f50b5204ccf2f68fc22964ac37994d502307b9f (patch)
tree60407b06906471167c62822bbbb40f3b9c0fb3a0
parent8a409722a061d50d3d6d4e116c199c8d37ad8532 (diff)
downloadmariadb-git-3f50b5204ccf2f68fc22964ac37994d502307b9f.tar.gz
fixed bug #2762 "grammar error in 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)