Skip to content

Commit ffbfb2b

Browse files
authored
Fix
1 parent b4a9af0 commit ffbfb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Interpreters/Cache/FileCacheSettings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ void FileCacheSettings::loadFromCollection(const NamedCollection & collection)
204204

205205
void FileCacheSettings::validate()
206206
{
207-
auto settings = *this;
207+
auto & settings = *this;
208208

209209
if (!settings[FileCacheSetting::path].changed)
210210
throw Exception(ErrorCodes::BAD_ARGUMENTS, "`path` is required parameter of cache configuration");

0 commit comments

Comments
 (0)