From 0805b517ee82952586a4b85dc226766dc83155db Mon Sep 17 00:00:00 2001 From: avogar Date: Fri, 21 Apr 2023 17:28:14 +0000 Subject: [PATCH] Fix parsing failover options --- src/Storages/StorageURL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/StorageURL.cpp b/src/Storages/StorageURL.cpp index 43281432dcb..d0475c243f6 100644 --- a/src/Storages/StorageURL.cpp +++ b/src/Storages/StorageURL.cpp @@ -152,7 +152,7 @@ namespace StorageURLSource::FailoverOptions getFailoverOptions(const String & uri, size_t max_addresses) { - return parseRemoteDescription(uri, 0, uri.size(), ',', max_addresses); + return parseRemoteDescription(uri, 0, uri.size(), '|', max_addresses); } }