Skip to content

Commit c8c233e

Browse files
authored
Merge pull request #1166 from Altinity/revert-1162-arthurpassos-patch-7
Revert "Backport of 90474 - Fix thread-safety race condition in static extractor"
2 parents d6bcd47 + e678ec8 commit c8c233e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storages/HivePartitioningUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static auto makeExtractor()
3434

3535
HivePartitioningKeysAndValues parseHivePartitioningKeysAndValues(const String & path)
3636
{
37-
thread_local auto extractor = makeExtractor();
37+
static auto extractor = makeExtractor();
3838

3939
HivePartitioningKeysAndValues key_values;
4040

0 commit comments

Comments
 (0)