Skip to content

Commit

Permalink
MDEV-9568 mysqlcheck crashes with nonexistent table name
Browse files Browse the repository at this point in the history
remove erroneous free() call
  • Loading branch information
vuvova committed Mar 17, 2016
1 parent c29e450 commit 0b9fb9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/mysqlcheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ static int is_view(const char *table)
{
fprintf(stderr, "Failed to %s\n", query);
fprintf(stderr, "Error: %s\n", mysql_error(sock));
my_free(query);
DBUG_RETURN(-1);
}
res= mysql_store_result(sock);
Expand Down

0 comments on commit 0b9fb9a

Please sign in to comment.