[CONJ-434] ResultSet returns duplicate entries Created: 2017-02-16 Updated: 2017-02-21 Resolved: 2017-02-21 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 1.5.8 |
| Fix Version/s: | 1.5.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andreas Pillath | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
MariaDB 10.1.21/Windows/JDBC 1.5.8/JDK 1.8.121 |
||
| Description |
|
After updating to 1.5.8 from 1.5.8 I get too many results from a ResultSet. This code should return 20 rows, but it returns 50.
This seems to be related to MariaSelectResultSet.java:371 only conditionally clears the resultSet
but always resets the rowPointer in MariaSelectResultSet.java:574
|
| Comments |
| Comment by Diego Dupin [ 2017-02-21 ] |
|
right, this will be corrected in a 1.5.9 version with commit https://github.com/mariadb/mariadb-connector-j/commit/0138932541e1465fa9544d52f8b0d5f9b9c5d790 |