Commit 08d475c7 authored by Monty's avatar Monty

Fixed core dump in "echo shutdown | mysqld --bootstrap"

parent 1cca8378
......@@ -29,6 +29,7 @@ int read_bootstrap_query(char *query, int *query_length,
int fgets_error= 0;
*error= 0;
*query_length= 0;
for ( ; ; )
{
line= (*fgets_fn)(line_buffer, sizeof(line_buffer), input, &fgets_error);
......
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