diff options
author | jimw@mysql.com <> | 2005-04-06 11:02:20 -0700 |
---|---|---|
committer | jimw@mysql.com <> | 2005-04-06 11:02:20 -0700 |
commit | 699c35c80eb0a31983bf09d1515a69456b589da7 (patch) | |
tree | e36096c2a8185e7a6f63489762b2ddedb689997d /client/mysqlcheck.c | |
parent | f32fe9c154adbd169407c0bf3c11647dc7f0f7b8 (diff) | |
parent | 9dfc87e270e15b6131cf37f7d2398b571dab0047 (diff) | |
download | mariadb-git-699c35c80eb0a31983bf09d1515a69456b589da7.tar.gz |
Merge mysql.com:/home/jimw/my/mysql-4.0-clean
into mysql.com:/home/jimw/my/mysql-4.1-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 babf4de0c3d..07f3f25b50c 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); } |