mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
fix error
This commit is contained in:
parent
6a8df5ea89
commit
33f9e8bc2e
@ -117,7 +117,7 @@ URI::URI(const std::string & uri_, bool allow_archive_path_syntax)
|
|||||||
is_virtual_hosted_style = true;
|
is_virtual_hosted_style = true;
|
||||||
if (name == "oss-data-acc")
|
if (name == "oss-data-acc")
|
||||||
{
|
{
|
||||||
bucket = bucket.substr(0, bucket.find("."));
|
bucket = bucket.substr(0, bucket.find('.'));
|
||||||
endpoint = uri.getScheme() + "://" + uri.getHost().substr(bucket.length() + 1);
|
endpoint = uri.getScheme() + "://" + uri.getHost().substr(bucket.length() + 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user