Commit 0b9fb9ae authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-9568 mysqlcheck crashes with nonexistent table name

remove erroneous free() call
parent c29e450e
...@@ -512,7 +512,6 @@ static int is_view(const char *table) ...@@ -512,7 +512,6 @@ static int is_view(const char *table)
{ {
fprintf(stderr, "Failed to %s\n", query); fprintf(stderr, "Failed to %s\n", query);
fprintf(stderr, "Error: %s\n", mysql_error(sock)); fprintf(stderr, "Error: %s\n", mysql_error(sock));
my_free(query);
DBUG_RETURN(-1); DBUG_RETURN(-1);
} }
res= mysql_store_result(sock); res= mysql_store_result(sock);
......
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