Commit b1067014 authored by unknown's avatar unknown

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.
parent 10805ec2
...@@ -1563,11 +1563,8 @@ You can turn off this feature to get a quicker startup with -A\n\n"); ...@@ -1563,11 +1563,8 @@ You can turn off this feature to get a quicker startup with -A\n\n");
mysql_free_result(fields); mysql_free_result(fields);
} }
else else
{
tee_fprintf(stdout,
"Didn't find any fields in table '%s'\n",table_row[0]);
field_names[i]= 0; field_names[i]= 0;
}
i++; i++;
} }
mysql_free_result(tables); mysql_free_result(tables);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment