Bug #51209 | error on parameter without value on connectionstring | ||
---|---|---|---|
Submitted: | 16 Feb 2010 15:11 | Modified: | 17 Feb 2010 15:07 |
Reporter: | Jorge Bastos | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 6.2.2 | OS: | Any |
Assigned to: | Reggie Burnett | CPU Architecture: | Any |
[16 Feb 2010 15:11]
Jorge Bastos
[16 Feb 2010 15:23]
Tonci Grgin
Hi Jorge and thanks for your report. I fail, however, to see what's S2(serious) about this? You malformed the connection string and it errors out. Your report is looking more like feature request to me... Verified as described using trunk. Some values are filled in automagically (like port or logging) while others are not (charset=; compress=;). This behavior is not uniform across the parameters and it should be imo.
[16 Feb 2010 18:56]
Jorge Bastos
Hi Tonci, Sorry about the severity, my error! Yap, this should be filled automatic, even that the values are wrong inserted in the CS like I provided. pooling and compress have both this problem I believe.
[16 Feb 2010 20:10]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/100557 830 Reggie Burnett 2010-02-16 - fixed bug where giving a connection string option like (option=) and then trying to read the option back via the property would fail (bug #51209)
[16 Feb 2010 20:12]
Reggie Burnett
fixed in 6.2.3 and 6.3.1+
[17 Feb 2010 9:11]
Jorge Bastos
Thank you Reggie :-)
[17 Feb 2010 15:07]
Tony Bedford
An entry has been added to the 6.2.3, 6.3.1 changelogs: Specifying a connection string where an option had no value generated an error, rather than the value being set to the default. For example, a connection string such as the following would result in an error: server=localhost;user=root;compress=;database=test;port=3306;password=123456;