From b10670142c8f503b40f18aae736ac6bc53c75e4b Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 8 Aug 2005 13:50:10 -0700 Subject: [PATCH] BUG #12119 Removed unnecessary error message from mysql.cc (client program) client/mysql.cc: BUG #12119 The error message "Didn't find any fields in table ..." would be printed out when a table was created and dropped in rapid succession via a perl script. The client would get a list of tables, meanwhile, the one table would be deleted, and then this error message printed when the table was not found, which it should just quietly not print the fields. Removing the error message fixes this issue. --- client/mysql.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/mysql.cc b/client/mysql.cc index 5454c76e720..63173aab20d 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1563,11 +1563,8 @@ You can turn off this feature to get a quicker startup with -A\n\n"); mysql_free_result(fields); } else - { - tee_fprintf(stdout, - "Didn't find any fields in table '%s'\n",table_row[0]); field_names[i]= 0; - } + i++; } mysql_free_result(tables);