File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
client-v2/src/main/java/com/clickhouse/client/api Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -35,4 +35,6 @@ public static List<String> valuesFromCommaSeparated(String value) {
3535 }
3636
3737 public static final String SESSION_DB_ROLES = "session_db_roles" ;
38+
39+ public static final String SETTING_LOG_COMMENT = SERVER_SETTING_PREFIX + "log_comment" ;
3840}
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ public Collection<String> getDBRoles() {
233233 public InsertSettings logComment (String logComment ) {
234234 this .logComment = logComment ;
235235 if (logComment != null && !logComment .isEmpty ()) {
236- rawSettings .put (ClientSettings .SERVER_SETTING_PREFIX + "log_comment" , logComment );
236+ rawSettings .put (ClientSettings .SETTING_LOG_COMMENT , logComment );
237237 }
238238 return this ;
239239 }
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ public Collection<String> getDBRoles() {
249249 public QuerySettings logComment (String logComment ) {
250250 this .logComment = logComment ;
251251 if (logComment != null && !logComment .isEmpty ()) {
252- rawSettings .put (ClientSettings .SERVER_SETTING_PREFIX + "log_comment" , logComment );
252+ rawSettings .put (ClientSettings .SETTING_LOG_COMMENT , logComment );
253253 }
254254 return this ;
255255 }
You can’t perform that action at this time.
0 commit comments