| Bug #48460 | Implement type safe cloning. | ||
|---|---|---|---|
| Submitted: | 2 Nov 2009 10:39 | Modified: | 5 Nov 2009 17:01 |
| Reporter: | John Bayly (OCA) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / NET | Severity: | S4 (Feature request) |
| Version: | 6.1.2 | OS: | Any |
| Assigned to: | Vladislav Vaintroub | CPU Architecture: | Any |
| Tags: | Clone, Type Safe | ||
[2 Nov 2009 10:39]
John Bayly
[2 Nov 2009 12:22]
Tonci Grgin
Hi John and thanks for your feature request.
[3 Nov 2009 17:58]
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/89186 773 Reggie Burnett 2009-11-03 - applied user-suggested patch to enable type-safe cloning (bug #48460)
[3 Nov 2009 17:59]
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/89187 786 Reggie Burnett 2009-11-03 [merge] - applied user-suggested patch to enable type-safe cloning (bug #48460)
[3 Nov 2009 18:01]
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/89189 794 Reggie Burnett 2009-11-03 [merge] - applied user-suggested patch to enable type-safe cloning (bug #48460)
[3 Nov 2009 18:02]
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/89191 794 Reggie Burnett 2009-11-03 [merge] - applied user-suggested patch to enable type-safe cloning (bug #48460)
[3 Nov 2009 18:03]
Reggie Burnett
Fixed in 6.0.5, 6.1.3, and 6.2.1+
[5 Nov 2009 17:01]
Tony Bedford
A entry has been added to the 6.0.5, 6.1.3 and 6.2.1 changelogs:
Cloning of MySqlCommand was not typesafe. To clone a MySqlCommand it was necessary to do:
MySqlCommand clone = (MySqlCommand)((ICloneable)comm).Clone();
MySQL Connector/NET was changed so that it was possible to do:
MySqlCommand clone = comm.Clone();
