Skip to content

Commit f6785a6

Browse files
committed
removed clusterAllReplicas
1 parent c826943 commit f6785a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jdbc-v2/src/test/java/com/clickhouse/jdbc/ConnectionTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,7 @@ public void setAndGetClientInfoTest(String clientName) throws SQLException {
310310
stmt.execute("SYSTEM FLUSH LOGS");
311311

312312

313-
final String logQuery ="SELECT http_user_agent " +
314-
" FROM clusterAllReplicas('default', system.query_log) WHERE query_id = " + stmt.enquoteLiteral(queryId);
313+
final String logQuery ="SELECT http_user_agent FROM system.query_log WHERE query_id = " + stmt.enquoteLiteral(queryId);
315314
try (ResultSet rs = stmt.executeQuery(logQuery)) {
316315
Assert.assertTrue(rs.next());
317316
String userAgent = rs.getString("http_user_agent");

0 commit comments

Comments
 (0)