diff options
author | unknown <vva@eagle.mysql.r18.ru> | 2004-02-16 18:58:15 +0400 |
---|---|---|
committer | unknown <vva@eagle.mysql.r18.ru> | 2004-02-16 18:58:15 +0400 |
commit | ecb6cf756e62259921cb3227445e969c6bf24ea3 (patch) | |
tree | 60407b06906471167c62822bbbb40f3b9c0fb3a0 /myisam | |
parent | ae13e464af11613462cd341361ab342a24da57e9 (diff) | |
download | mariadb-git-ecb6cf756e62259921cb3227445e969c6bf24ea3.tar.gz |
fixed bug #2762 "grammar error in myisam/mi_check.c"
Diffstat (limited to 'myisam')
-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) |