Bug #111107 | CallableStatement::getParameterMetaData reports incorrect parameterCount | ||
---|---|---|---|
Submitted: | 22 May 15:54 | Modified: | 18 Aug 14:06 |
Reporter: | Jason Boyer | Email Updates: | |
Status: | Analyzing | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 8.0.33, 8.1.0 | OS: | Any |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[22 May 15:54]
Jason Boyer
[22 May 19:15]
Jason Boyer
This only occurs when the query parameter count differs from the metadata parameter account. In the example: - the metadata parameter count is 4 because there are four procedure parameters, including the two NULLs. - the query parameter count is 2 because there are two occurrences of "?" If the both counts are the same (i.e. all procedure parameters are specified with placeholders) the the code path leading to this bug is not followed, and it returns the correct number of results.
[18 Aug 14:06]
Jason Boyer
This bug is still present in version 8.1.0.