This commit is contained in:
flynn 2023-06-13 04:13:16 +00:00
parent bbf0548007
commit 6ad6c6afa3
3 changed files with 3 additions and 3 deletions

View File

@ -783,7 +783,7 @@ Strings Context::getWarnings() const
{
if (setting.isValueChanged() && setting.isObsolete())
{
res += (obsolete_settings_count ? ", `" : "`") + setting.getName() + "`";
res += (obsolete_settings_count ? ", '" : "'") + setting.getName() + "'";
++obsolete_settings_count;
}
}

View File

@ -55,7 +55,7 @@ expect eof
spawn bash -c "source $basedir/../shell_config.sh ; \$CLICKHOUSE_CLIENT_BINARY \$CLICKHOUSE_CLIENT_OPT --disable_suggestion --max_memory_usage_for_all_queries=123 --history_file=$history_file"
expect "Warnings:"
expect " * Obsolete settings [\`max_memory_usage_for_all_queries\`] is changed. Please check \'select * from system.settings where changed and is_obsolete\' and read the changelog."
expect " * Obsolete settings [\'max_memory_usage_for_all_queries\'] is changed. Please check \'select * from system.settings where changed and is_obsolete\' and read the changelog."
expect ":) "
send -- "q\r"
expect eof

View File

@ -1,5 +1,5 @@
Server was built in debug mode. It will work slowly.
0
Obsolete settings [`multiple_joins_rewriter_version`] is changed. Please check \'select * from system.settings where changed and is_obsolete\' and read the changelog.
Obsolete settings [\'multiple_joins_rewriter_version\'] is changed. Please check \'select * from system.settings where changed and is_obsolete\' and read the changelog.
1
1