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:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:5.2, rev 1549 OS:Any
Assigned to: Reggie Burnett CPU Architecture:Any

[7 Apr 2009 8:18] Tonci Grgin
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".
[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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.