| Bug #44128 | Error in branch/5.2/NativeDriver.cs Ln 207, rev 1549 | ||
|---|---|---|---|
| Submitted: | 7 Apr 2009 8:18 | Modified: | 7 Apr 2009 16:48 |
| Reporter: | Tonci Grgin | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / NET | Severity: | S2 (Serious) |
| Version: | 5.2, rev 1549 | OS: | Any |
| Assigned to: | Reggie Burnett | CPU Architecture: | Any |
[7 Apr 2009 16:47]
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/71565
[7 Apr 2009 16:48]
Reggie Burnett
no need to document as we didn't fix any bugs or implement any features

Description: Looking into if (baseStream == null) throw new MySqlException(Resources.UnableToConnectToHost, (int)MySqlErrorCode.UnableToConnectToHost, ex); one can see that variable ex is out of context thus building driver fails with: F:\svn-net\connector-net\branches\5.2\MySql.Data\Provider\Source\NativeDriver.cs(207,64): error CS0103: The name 'ex' does not exist in the current context This is in rev 1549. Rev. 1548 works How to repeat: - Suggested fix: Remove "ex".