diff options
author | jimw@mysql.com <> | 2005-04-06 15:24:12 -0700 |
---|---|---|
committer | jimw@mysql.com <> | 2005-04-06 15:24:12 -0700 |
commit | 4caef066c7bcfa38d844d6b212b6e7a4605f4377 (patch) | |
tree | 67484f74fa3a10c7840c5430844617c78451495f /client/mysqlcheck.c | |
parent | a4025168c767b91c83afd897262bbdb97581d13a (diff) | |
parent | 699c35c80eb0a31983bf09d1515a69456b589da7 (diff) | |
download | mariadb-git-4caef066c7bcfa38d844d6b212b6e7a4605f4377.tar.gz |
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
into mysql.com:/home/jimw/my/mysql-5.0-clean
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r-- | client/mysqlcheck.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index 15be51853cd..c767f1c89b7 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -566,6 +566,7 @@ static void print_result() my_bool found_error=0; res = mysql_use_result(sock); + prev[0] = '\0'; for (i = 0; (row = mysql_fetch_row(res)); i++) { @@ -595,7 +596,7 @@ static void print_result() putchar('\n'); } if (found_error && opt_auto_repair && what_to_do != DO_REPAIR && - (!opt_fast || strcmp(row[3],"OK"))) + !opt_fast) insert_dynamic(&tables4repair, prev); mysql_free_result(res); } |