You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Fix logical error in parse_connection_string
removed dead code (in_curly_brace is always true)
This commit is contained in:
@@ -904,10 +904,7 @@ static int parse_connection_string(MYSQL *mysql, const char *unused __attribute_
|
||||
pos += 2;
|
||||
continue;
|
||||
}
|
||||
if (in_curly_brace)
|
||||
in_curly_brace= 0;
|
||||
else
|
||||
goto error;
|
||||
*pos++= 0;
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user