[CONJ-223] MariaDbParameterMetaData.getParameterCount() function does not return correct result Created: 2015-11-22 Updated: 2015-11-22 Resolved: 2015-11-22 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 1.3.0 |
| Fix Version/s: | 1.3.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hayk Varderesyan | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
MariaDBParameterMetaData.getParameterCount() function returns* columnInformations.length* instead parameterCount P.S. Currently is the only function the wrong result supplies |
| Comments |
| Comment by Hayk Varderesyan [ 2015-11-22 ] |
|
A possible fix I've also created and attached on the task. |
| Comment by Diego Dupin [ 2015-11-22 ] |
|
Very basic info about the parameterized query, only reliable method is getParameterCount(). The problem was as you point in your patch : columnInformations were used instead of parameterInformations. Correction link : Travis result : |