mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed core dump in "echo shutdown | mysqld --bootstrap"
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user