summaryrefslogtreecommitdiff
path: root/client/mysqlcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r--client/mysqlcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index aeaead924c9..f5a2c4600f8 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -777,7 +777,7 @@ static void print_result()
we have to run upgrade on it. In this case we write a nicer message
than "Please do "REPAIR TABLE""...
*/
- if (!strcmp(row[2],"error") && strinstr(row[3],"REPAIR TABLE") != 0)
+ if (!strcmp(row[2],"error") && strstr(row[3],"REPAIR TABLE"))
printf("%-50s %s", row[0], "Needs upgrade");
else
printf("%s\n%-9s: %s", row[0], row[2], row[3]);