1
0
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:
Georg Richter
2024-12-19 11:14:19 +01:00
parent 13c8815604
commit 19495f1cdd

View File

@@ -904,10 +904,7 @@ static int parse_connection_string(MYSQL *mysql, const char *unused __attribute_
pos += 2; pos += 2;
continue; continue;
} }
if (in_curly_brace) in_curly_brace= 0;
in_curly_brace= 0;
else
goto error;
*pos++= 0; *pos++= 0;
continue; continue;
} }