diff options
Diffstat (limited to 'sql/sql_bootstrap.cc')
-rw-r--r-- | sql/sql_bootstrap.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_bootstrap.cc b/sql/sql_bootstrap.cc index a8c930820a7..dbeb971cd5a 100644 --- a/sql/sql_bootstrap.cc +++ b/sql/sql_bootstrap.cc @@ -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); |