mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +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;
|
||||
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);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user