1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

several fixes to the previous patch

This commit is contained in:
petr@mysql.com
2005-06-07 17:57:20 +04:00
parent 83c75ea385
commit a2331d37b6
4 changed files with 10 additions and 8 deletions

View File

@@ -86,7 +86,7 @@ int parse_output_and_get_value(const char *command, const char *word,
an option value) or the whole line (if flag)
*/
linep+= found_word_len; /* swallow the previous one */
if (flag & GET_VALUE) /* not GET_LINE */
if (flag & GET_VALUE)
{
get_word((const char **) &linep, &found_word_len, NONSPACE);
if (input_buffer_len <= found_word_len)