Skip to content

Commit

Permalink
only open mysql passthrough columnType assert
Browse files Browse the repository at this point in the history
  • Loading branch information
strongduanmu committed Dec 23, 2024
1 parent 237ed33 commit 637f3ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private void assertMetaData(final ResultSetMetaData actualResultSetMetaData, fin
continue;
}
if ("jdbc".equals(testParam.getAdapter()) && "Cluster".equals(testParam.getMode()) && "encrypt".equals(testParam.getScenario())
|| "passthrough".equals(testParam.getScenario())) {
|| "MySQL".equals(testParam.getDatabaseType().getType()) && "passthrough".equals(testParam.getScenario())) {
// FIXME correct columnType with proxy adapter and other jdbc scenario
assertThat(actualResultSetMetaData.getColumnType(i + 1), is(expectedResultSetMetaData.getColumnType(i + 1)));
}
Expand Down

0 comments on commit 637f3ca

Please sign in to comment.