diff options
author | vva@eagle.mysql.r18.ru <> | 2004-02-16 18:58:15 +0400 |
---|---|---|
committer | vva@eagle.mysql.r18.ru <> | 2004-02-16 18:58:15 +0400 |
commit | 3f50b5204ccf2f68fc22964ac37994d502307b9f (patch) | |
tree | 60407b06906471167c62822bbbb40f3b9c0fb3a0 | |
parent | 8a409722a061d50d3d6d4e116c199c8d37ad8532 (diff) | |
download | mariadb-git-3f50b5204ccf2f68fc22964ac37994d502307b9f.tar.gz |
fixed bug #2762 "grammar error in myisam/mi_check.c"
-rw-r--r-- | myisam/mi_check.c | 4 |
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) |