Skip to content

Commit

Permalink
Fix | Add byte comparison for PreparedStatement fetch in UTF8SupportTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ulvii committed Jun 14, 2018
1 parent 8e67788 commit d3de10c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public void validate(String value) throws SQLException {
ResultSet rsPreparedStatement = psFetch.executeQuery();
rsPreparedStatement.next();
assertEquals(value, rsPreparedStatement.getString(1));
assertArrayEquals(valueBytes, rsPreparedStatement.getBytes(1));
}
}
}

0 comments on commit d3de10c

Please sign in to comment.