Skip to content

Commit

Permalink
branch-3.0: [fix](suite) Fix qt_master_sql arg type #46772 (#46776)
Browse files Browse the repository at this point in the history
Cherry-picked from #46772

Co-authored-by: walter <[email protected]>
  • Loading branch information
github-actions[bot] and w41ter authored Jan 11, 2025
1 parent 908a96f commit 6f344ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ class Suite implements GroovyInterceptable {
} else if (tag.contains("target_sql")) {
tupleResult = JdbcUtils.executeToStringList(context.getTargetConnection(this), (String) arg)
} else if (tag.contains("master_sql")) {
tupleResult = JdbcUtils.executeToStringList(context.getMasterConnection(), (PreparedStatement) arg)
tupleResult = JdbcUtils.executeToStringList(context.getMasterConnection(), (String) arg)
} else {
tupleResult = JdbcUtils.executeToStringList(context.getConnection(), (String) arg)
}
Expand Down

0 comments on commit 6f344ad

Please sign in to comment.