Skip to content

Commit

Permalink
Remove deprecated syntax (#17631)
Browse files Browse the repository at this point in the history
Signed-off-by: Dirkjan Bussink <[email protected]>
  • Loading branch information
dbussink authored Jan 27, 2025
1 parent 8412fe8 commit 5265e51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private static void readData(Connection conn) throws SQLException {
}

private static void validateReplica(Connection conn) throws SQLException {
String sql = "show slave status";
String sql = "show replica status";
try (Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(sql)) {
if (!rs.next()) {
throw new RuntimeException("connected to wrong tablet");
Expand Down

0 comments on commit 5265e51

Please sign in to comment.