1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-9568 mysqlcheck crashes with nonexistent table name

remove erroneous free() call
This commit is contained in:
Sergei Golubchik
2016-03-17 10:45:15 +01:00
parent c29e450e37
commit 0b9fb9aea9

View File

@ -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);