Bug #49642 | FormatException when returning empty string from a stored function | ||
---|---|---|---|
Submitted: | 12 Dec 2009 21:13 | Modified: | 15 Jan 2010 10:47 |
Reporter: | Pavel Bazanov | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | MySql 5.1.41 & Connector/Net 6.1.3 | OS: | Any |
Assigned to: | Vladislav Vaintroub | CPU Architecture: | Any |
Tags: | FormatException, Input string was not in a correct format, parsing empty string, stored function returns empty string |
[12 Dec 2009 21:13]
Pavel Bazanov
[14 Dec 2009 13:03]
Tonci Grgin
Hi Pavel and thanks for your report, no offenses taken. Verified just as described against c/NET trunk.
[13 Jan 2010 17:15]
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/96801 784 Reggie Burnett 2010-01-13 - fixed problem where not specifying the data type of the return value of a function caused it to mistakenly use Decimal as the return type (bug #49642)
[13 Jan 2010 17:33]
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/96804 801 Reggie Burnett 2010-01-13 - fixed problem where not specifying the data type of the return value of a function caused it to mistakenly use Decimal as the return type (bug #49642)
[13 Jan 2010 17:35]
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/96805 823 Reggie Burnett 2010-01-13 [merge] - fixed problem where not specifying the data type of the return value of a function caused it to mistakenly use Decimal as the return type (bug #49642)
[13 Jan 2010 17:35]
Reggie Burnett
fixed in 6.0.6, 6.1.4, and 6.2.3
[13 Jan 2010 17:35]
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/96806 820 Reggie Burnett 2010-01-13 [merge] - fixed problem where not specifying the data type of the return value of a function caused it to mistakenly use Decimal as the return type (bug #49642)
[14 Jan 2010 7:48]
Tonci Grgin
Bug#48440 was marked as duplicate of this report.
[15 Jan 2010 10:47]
Tony Bedford
An entry has been added to the 6.0.6, 6.1.4, and 6.2.3 changelogs: A FormatException was generated when an empty string was returned from a stored function.