summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2004-02-16 19:41:03 +0400
committerunknown <vva@eagle.mysql.r18.ru>2004-02-16 19:41:03 +0400
commit709325d176c4e737e5af6945654e3dd0c37feed5 (patch)
tree7a9fc4138456be080d0aac1674ad0611c74c0df5
parent6f9c01b7c4c6792c829b24f35bb3d0a0569a8c39 (diff)
parentca9f94190d749c57ce383416d24a1e95ebb29fb8 (diff)
downloadmariadb-git-709325d176c4e737e5af6945654e3dd0c37feed5.tar.gz
Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-3.23
into eagle.mysql.r18.ru:/home/vva/work/BUG_2762/mysql-3.23
-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)