Skip to content

Commit efa5532

Browse files
committed
chore(query): fix lint
1 parent 0636468 commit efa5532

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/query/service/src/interpreters/interpreter_query_log.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ impl InterpreterQueryLog {
305305
.get_settings()
306306
.get_setting_values_short()
307307
{
308-
write!(session_settings, "{}={}, ", key, value).expect("write to string must succeed");
308+
write!(session_settings, "{}={:?}, ", key, value).expect("write to string must succeed");
309309
}
310310
session_settings.push_str("scope: SESSION");
311311

@@ -418,7 +418,7 @@ impl InterpreterQueryLog {
418418
.get_settings()
419419
.get_setting_values_short()
420420
{
421-
write!(session_settings, "{}={}, ", key, value).expect("write to string must succeed");
421+
write!(session_settings, "{}={:?}, ", key, value).expect("write to string must succeed");
422422
}
423423
session_settings.push_str("scope: SESSION");
424424

src/query/storages/preludes/src/system/settings_table.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ impl SyncSystemTable for SettingsTable {
6262
let typename = match vals.2 {
6363
common_meta_types::UserSettingValue::UInt64(_) => "UInt64",
6464
common_meta_types::UserSettingValue::String(_) => "String",
65-
_ => unreachable!(),
6665
};
6766
// Types.
6867
types.push(typename.to_string());

0 commit comments

Comments
 (0)