mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
style check fail
This commit is contained in:
parent
93efc75dc7
commit
3f56dde858
@ -132,7 +132,7 @@ namespace
|
|||||||
if (!userInfo.empty())
|
if (!userInfo.empty())
|
||||||
{
|
{
|
||||||
std::size_t n = userInfo.find(":");
|
std::size_t n = userInfo.find(":");
|
||||||
if(n != std::string::npos)
|
if (n != std::string::npos)
|
||||||
{
|
{
|
||||||
credentials.setUsername(userInfo.substr(0, n));
|
credentials.setUsername(userInfo.substr(0, n));
|
||||||
credentials.setPassword(userInfo.substr(n+1));
|
credentials.setPassword(userInfo.substr(n+1));
|
||||||
|
Loading…
Reference in New Issue
Block a user