Skip to content

Commit 21ab0e4

Browse files
committed
Remove bad change
1 parent 88548eb commit 21ab0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storages/StorageS3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class StorageS3Source::DisclosedGlobIterator::Impl : WithContext
207207
, list_objects_scheduler(threadPoolCallbackRunner<ListObjectsOutcome>(list_objects_pool, "ListObjects"))
208208
, file_progress_callback(file_progress_callback_)
209209
{
210-
if (globbed_uri.bucket.find_first_of("*?{") != globbed_uri.bucket.npos)
210+
if (globbed_uri.bucket.find_first_of("*?{") != std::string::npos)
211211
throw Exception(ErrorCodes::UNEXPECTED_EXPRESSION, "Expression can not have wildcards inside bucket name");
212212

213213
const String key_prefix = globbed_uri.key.substr(0, globbed_uri.key.find_first_of("*?{"));

0 commit comments

Comments
 (0)