mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
several fixes to the previous patch
server-tools/instance-manager/instance_options.cc: fix order of if branches server-tools/instance-manager/instance_options.h: portability fix server-tools/instance-manager/parse_output.cc: remove stupid comment server-tools/instance-manager/parse_output.h: portability fix
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user