Skip to content

Commit

Permalink
DBZ-8557: Account for API changes in ChangeTableResultSet
Browse files Browse the repository at this point in the history
  • Loading branch information
ramanenka authored and jpechane committed Jan 16, 2025
1 parent 4775bad commit f8aaa15
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,16 @@ private Db2ChangeTable[] getCdcTablesToQuery(Db2Partition partition, Db2OffsetCo
*
*/
private static class ChangeTablePointer extends ChangeTableResultSet<Db2ChangeTable, TxLogPosition> {
private final ResultSet resultSet;

ChangeTablePointer(Db2ChangeTable changeTable, ResultSet resultSet) {
super(changeTable, resultSet, COL_DATA);
super(changeTable, COL_DATA, 0);
this.resultSet = resultSet;
}

@Override
protected ResultSet getNextResultSet(TxLogPosition txLogPosition) throws SQLException {
return resultSet;
}

@Override
Expand Down

0 comments on commit f8aaa15

Please sign in to comment.